From 0696a5cde3647fadd21e0b8becb2027646449cb9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 9 Feb 2011 20:51:12 +0100 Subject: [PATCH] s3-waf: make sure we dont activate dnsupdate support w/o gssapi. Guenther (cherry picked from commit 9239db35e6c77e645a85dbb9a315902d24b87503) --- source3/wscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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') -- 2.11.4.GIT