From 3549adc7ce0e10fb74e27b5dbdaa66391803abef Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Sep 2006 10:34:18 +0000 Subject: 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) --- source4/auth/config.m4 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source4/auth/config.m4') 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 -- cgit