diff options
Diffstat (limited to 'source4/auth/config.m4')
-rw-r--r-- | source4/auth/config.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/auth/config.m4 b/source4/auth/config.m4 new file mode 100644 index 0000000000..5e069ce57b --- /dev/null +++ b/source4/auth/config.m4 @@ -0,0 +1,11 @@ +############################### +# 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_EXT_LIB_ENABLE(PAM,YES) +fi +SMB_EXT_LIB(PAM, $PAM_LIBS) +# end SMB_EXT_LIB_PAM +############################### |