From: Günther Deschner Date: Wed, 9 Feb 2011 19:51:12 +0000 (+0100) Subject: s3-waf: make sure we dont activate dnsupdate support w/o gssapi. X-Git-Tag: tevent-0.9.11~809 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9239db35e6c77e645a85dbb9a315902d24b87503;p=thirdparty%2Fsamba.git s3-waf: make sure we dont activate dnsupdate support w/o gssapi. Guenther --- diff --git a/source3/wscript b/source3/wscript index 7dd87d7f075..90e25a3eda3 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')