summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 09:05:43 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:49 +1000
commit5db5772db12e41da9389863062334fcb27f29259 (patch)
treec4a88e37fcd27a65e1bdb5ee621ca97c35283af8 /source4/auth/gensec
parent3c9e8e18aac7ba5e0446a38741a3fe6af8936651 (diff)
downloadsamba-5db5772db12e41da9389863062334fcb27f29259.tar.gz
samba-5db5772db12e41da9389863062334fcb27f29259.tar.bz2
samba-5db5772db12e41da9389863062334fcb27f29259.zip
build: fixed the build without sasl libraries
We need to only enable the cyrus_sasl module if we have sasl/sasl.h
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/wscript_build3
1 files changed, 2 insertions, 1 deletions
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')
)