s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests things...
[samba.git] / source4 / auth / config.m4
index 9735b17caca07a0190edea5134f00aba736de7db..03fdadb4e27aa4b61e16281669cf52b562b2cfab 100644 (file)
@@ -1,12 +1,7 @@
 ###############################
 # start SMB_EXT_LIB_PAM
 # check for security/pam_appl.h and -lpam
-AC_CHECK_HEADERS(security/pam_appl.h)
-AC_CHECK_LIB_EXT(pam, PAM_LIBS, pam_start)
-if test x"$ac_cv_header_security_pam_appl_h" = x"yes" -a x"$ac_cv_lib_ext_pam_pam_start" = x"yes";then
-       SMB_ENABLE(PAM,YES)
-fi
-SMB_EXT_LIB(PAM, $PAM_LIBS)
+# Tests are now moved in ../nsswitch/config.m4 because winbind stuff require more pam tests
 # end SMB_EXT_LIB_PAM
 ###############################