summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source3/wscript')
-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')