summaryrefslogtreecommitdiff
path: root/source4/auth/config.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-06 10:34:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:43 -0500
commit3549adc7ce0e10fb74e27b5dbdaa66391803abef (patch)
tree20601c1c06e7de2eae9d7c340db475b778d23c0a /source4/auth/config.m4
parent6c85bcc9723f662cd6d1075586758694574e42d7 (diff)
downloadsamba-3549adc7ce0e10fb74e27b5dbdaa66391803abef.tar.gz
samba-3549adc7ce0e10fb74e27b5dbdaa66391803abef.tar.bz2
samba-3549adc7ce0e10fb74e27b5dbdaa66391803abef.zip
r18155: Add my work in progress, a module to link with Cyrus-SASL, for a
DIGEST-MD5 implemenation in particular. However, I can't make this work: Cyrus-SASL isn't loading the mech... Andrew Bartlett (This used to be commit 0b193d28c896c9d212a536da7d87634543d971a5)
Diffstat (limited to 'source4/auth/config.m4')
-rw-r--r--source4/auth/config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/auth/config.m4 b/source4/auth/config.m4
index f6500cc1e7..e70df2e400 100644
--- a/source4/auth/config.m4
+++ b/source4/auth/config.m4
@@ -17,3 +17,13 @@ SMB_ENABLE(CRYPT,YES)
SMB_EXT_LIB(CRYPT, $CRYPT_LIBS)
AC_CHECK_FUNCS(crypt16 getauthuid getpwanam)
+
+AC_CHECK_HEADERS(sasl/sasl.h)
+AC_CHECK_LIB_EXT(sasl2, SASL_LIBS, sasl_client_init)
+SMB_EXT_LIB(SASL, $SASL_LIBS)
+
+if test x"$ac_cv_header_sasl_sasl_h" = x"yes" -a x"$ac_cv_lib_ext_sasl2_sasl_client_init" = x"yes";then
+ SMB_ENABLE(cyrus_sasl,YES)
+else
+ SMB_ENABLE(cyrus_sasl, NO)
+fi