mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
53f005f6aa
(This used to be commit d72c5c8f75
)
20 lines
618 B
Plaintext
20 lines
618 B
Plaintext
###############################
|
|
# 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)
|
|
# end SMB_EXT_LIB_PAM
|
|
###############################
|
|
|
|
################################################
|
|
# test for where we get crypt() from
|
|
AC_CHECK_LIB_EXT(crypt, CRYPT_LIBS, crypt)
|
|
SMB_ENABLE(CRYPT,YES)
|
|
SMB_EXT_LIB(CRYPT, $CRYPT_LIBS)
|
|
|
|
AC_CHECK_FUNCS(crypt16 getauthuid getpwanam)
|