summaryrefslogtreecommitdiffstats
path: root/source/auth/config.m4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-09-06 10:34:18 +0000
committerAndrew Bartlett <abartlet@samba.org>2006-09-06 10:34:18 +0000
commitbc7a04cc655970e927fb3ad289b9f95cedb41274 (patch)
tree834af30cec6e7ee0d09825e26a338842ddf31b0f /source/auth/config.m4
parent0e8cd7717544eb1ffc572eb1616987798491101f (diff)
downloadsamba-bc7a04cc655970e927fb3ad289b9f95cedb41274.tar.gz
samba-bc7a04cc655970e927fb3ad289b9f95cedb41274.tar.xz
samba-bc7a04cc655970e927fb3ad289b9f95cedb41274.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
Diffstat (limited to 'source/auth/config.m4')
-rw-r--r--source/auth/config.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/source/auth/config.m4 b/source/auth/config.m4
index f6500cc1e77..e70df2e4009 100644
--- a/source/auth/config.m4
+++ b/source/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