summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-13 11:26:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-13 04:41:05 +0100
commit3bf922111a29277e390361c6f4cf7580ff4453e3 (patch)
tree4a824b57a9e528ef1aedb4358236b9d48ae5ad27 /source3/wscript
parent4a0d1b5ac6c2a42fd5df969acf91bb8e60af06e1 (diff)
downloadsamba-3bf922111a29277e390361c6f4cf7580ff4453e3.tar.gz
samba-3bf922111a29277e390361c6f4cf7580ff4453e3.tar.bz2
samba-3bf922111a29277e390361c6f4cf7580ff4453e3.zip
s3-build: expliticly require gssapi for HAVE_KRB5 and remove HAVE_GSSAPI
The requirement for gss functions already make this happen, but this is clearer. No code depends on HAVE_GSSAPI any more. Andrew Bartlett
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/wscript b/source3/wscript
index b47d71a49c..4fe0535386 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -815,8 +815,6 @@ return krb5_kt_resolve(context, "WRFILE:api", &keytab);
if use_ads:
conf.DEFINE('WITH_ADS', '1')
conf.DEFINE('HAVE_KRB5', '1')
- if have_gssapi:
- conf.DEFINE('HAVE_GSSAPI', '1')
if conf.CONFIG_SET('HAVE_LDAP'):
conf.env['HAVE_ADS'] = '1'
else:
@@ -995,7 +993,7 @@ int i; i = PAM_RADIO_TYPE;
conf.CHECK_FUNCS_IN('uuid_generate', 'uuid')
if not conf.CONFIG_SET('HAVE_UUID_UUID_H') and not conf.CONFIG_SET('HAVE_UUID_GENERATE'):
Logs.warn("--with-dnsupdate=yes but uuid support not sufficient")
- elif not conf.CONFIG_SET('HAVE_GSSAPI'):
+ elif not conf.CONFIG_SET('HAVE_KRB5'):
Logs.warn("--with-dnsupdate=yes but gssapi support not sufficient")
else:
conf.DEFINE('WITH_DNS_UPDATES', 1)