libcli/auth/ntlm_check.c - fix parameter indentation
[Samba.git] / source4 / auth / config.m4
blob03fdadb4e27aa4b61e16281669cf52b562b2cfab
1 ###############################
2 # start SMB_EXT_LIB_PAM
3 # check for security/pam_appl.h and -lpam
4 # Tests are now moved in ../nsswitch/config.m4 because winbind stuff require more pam tests
5 # end SMB_EXT_LIB_PAM
6 ###############################
8 ################################################
9 # test for where we get crypt() from
10 AC_CHECK_LIB_EXT(crypt, CRYPT_LIBS, crypt)
11 SMB_ENABLE(CRYPT,YES)
12 SMB_EXT_LIB(CRYPT, $CRYPT_LIBS)
14 AC_CHECK_FUNCS(crypt16 getauthuid getpwanam)
16 AC_CHECK_HEADERS(sasl/sasl.h)
17 AC_CHECK_LIB_EXT(sasl2, SASL_LIBS, sasl_client_init)
19 if test x"$ac_cv_header_sasl_sasl_h" = x"yes" -a x"$ac_cv_lib_ext_sasl2_sasl_client_init" = x"yes";then
20         SMB_ENABLE(SASL,YES)
21         SMB_ENABLE(cyrus_sasl,YES)
22         SASL_CFLAGS="$CFLAGS"
23         SASL_CPPFLAGS="$CPPFLAGS"
24         SASL_LDFLAGS="$LDFLAGS"
25         LIB_REMOVE_USR_LIB(SASL_LDFLAGS)
26         CFLAGS_REMOVE_USR_INCLUDE(SASL_CPPFLAGS)
27         CFLAGS_REMOVE_USR_INCLUDE(SASL_CFLAGS)
28 else
29         SMB_ENABLE(cyrus_sasl,NO)
32 SMB_EXT_LIB(SASL, $SASL_LIBS, [${SASL_CFLAGS}], [${SASL_CPPFLAGS}], [${SASL_LDFLAGS}])