From 9239db35e6c77e645a85dbb9a315902d24b87503 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 9 Feb 2011 20:51:12 +0100 Subject: s3-waf: make sure we dont activate dnsupdate support w/o gssapi. Guenther --- source3/wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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') -- cgit