Commit c620d9e1 authored by Pontus Freyhult's avatar Pontus Freyhult

Need to check for libpam if PAM is enabled.

Rev: ChangeLog:1.465
Rev: configure.in:1.132
parent 0f92785a
2002-03-14 Pontus <pont@it.uu.se>
* configure.in: Added check for libpam if PAM is enabled.
2002-03-14 Niels Möller <nisse@cuckoo.hack.org>
* configure.in: Removed check for 8-bit clean m4.
......
......@@ -377,8 +377,14 @@ AC_SUBST(KRB_PROGRAM)
AH_TEMPLATE([WITH_PAM], [For PAM])
if test x$enable_pam = xyes; then
AC_DEFINE(WITH_PAM)
PAM_PROGRAM=lsh-pam-checkpw
AC_CHECK_LIB(pam,pam_start,, enable_pam=no )
if test x$enable_pam = xyes; then
AC_DEFINE(WITH_PAM)
PAM_PROGRAM=lsh-pam-checkpw
else
AC_MSG_WARN([pam_start not found in libpam, disabling PAM])
fi
fi
AC_SUBST(PAM_PROGRAM)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment