comparison configure.in @ 573:d3ea8b9672f0

- Test for pam_fail_delay() function in configure - Recognise "username:" as a PAM prompt - Add some randomness to the auth-failure delay - Fix wrongly committed options.h/debug.h
author Matt Johnston <matt@ucc.asn.au>
date Tue, 08 Sep 2009 14:53:53 +0000
parents a1b7c6cdd48a
children d194db6f9453
comparison
equal deleted inserted replaced
572:8fd0ac8c8cab 573:d3ea8b9672f0
144 [ --enable-pam Try to include PAM support], 144 [ --enable-pam Try to include PAM support],
145 [ 145 [
146 if test "x$enableval" = "xyes"; then 146 if test "x$enableval" = "xyes"; then
147 AC_CHECK_LIB(pam, pam_authenticate, , AC_MSG_ERROR([*** PAM missing - install first or check config.log ***])) 147 AC_CHECK_LIB(pam, pam_authenticate, , AC_MSG_ERROR([*** PAM missing - install first or check config.log ***]))
148 AC_MSG_NOTICE(Enabling PAM) 148 AC_MSG_NOTICE(Enabling PAM)
149 AC_CHECK_FUNCS(pam_fail_delay)
149 else 150 else
150 AC_DEFINE(DISABLE_PAM,, Use PAM) 151 AC_DEFINE(DISABLE_PAM,, Use PAM)
151 AC_MSG_NOTICE(Disabling PAM) 152 AC_MSG_NOTICE(Disabling PAM)
152 fi 153 fi
153 ], 154 ],