summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-09 20:51:12 +0100
committerGünther Deschner <gd@samba.org>2011-02-09 22:51:08 +0100
commit9239db35e6c77e645a85dbb9a315902d24b87503 (patch)
treead0a96a614067ad05f949a97be4be0643c4909aa
parent4ccb7e5bddd16c2b1cc7c057d8219c271ff5fe8c (diff)
downloadsamba-9239db35e6c77e645a85dbb9a315902d24b87503.tar.gz
samba-9239db35e6c77e645a85dbb9a315902d24b87503.tar.bz2
samba-9239db35e6c77e645a85dbb9a315902d24b87503.zip
s3-waf: make sure we dont activate dnsupdate support w/o gssapi.
Guenther
-rw-r--r--source3/wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 7dd87d7f07..90e25a3eda 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1013,7 +1013,10 @@ 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'):
print "--with-dnsupdate=yes but uuid support not sufficient"
- conf.DEFINE('WITH_DNS_UPDATES', 1)
+ elif not conf.CONFIG_SET('HAVE_GSSAPI'):
+ print "--with-dnsupdate=yes but gssapi support not sufficient"
+ else:
+ conf.DEFINE('WITH_DNS_UPDATES', 1)
else:
conf.SET_TARGET_TYPE('uuid', 'EMPTY')
conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h valgrind/memcheck.h')