From 5db5772db12e41da9389863062334fcb27f29259 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 17 Mar 2010 09:05:43 +1100 Subject: build: fixed the build without sasl libraries We need to only enable the cyrus_sasl module if we have sasl/sasl.h --- source4/auth/gensec/wscript_build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/auth/gensec') diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build index 444608d644..b9fa5f4c49 100644 --- a/source4/auth/gensec/wscript_build +++ b/source4/auth/gensec/wscript_build @@ -28,7 +28,8 @@ bld.SAMBA_MODULE('cyrus_sasl', source='cyrus_sasl.c', subsystem='gensec', init_function='gensec_sasl_init', - deps='CREDENTIALS SASL' + deps='CREDENTIALS SASL', + enabled=bld.CONFIG_SET('HAVE_SASL') ) -- cgit