diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-09-08 14:53:53 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-09-08 14:53:53 +0000 |
commit | 52551cb771e8cd1ba3b5eb137fc43b61bd35cd79 (patch) | |
tree | 98f548742f415989b50335bac93e46126a5777cf /configure.in | |
parent | 4dfb834f7cd153cd90904c36dca314f5516beca2 (diff) |
- 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
--HG--
extra : convert_revision : f242f0e66fb0ea5d3b374995d2f548d37dd8f3a3
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index c7149e8..97ce251 100644 --- a/configure.in +++ b/configure.in @@ -146,6 +146,7 @@ AC_ARG_ENABLE(pam, if test "x$enableval" = "xyes"; then AC_CHECK_LIB(pam, pam_authenticate, , AC_MSG_ERROR([*** PAM missing - install first or check config.log ***])) AC_MSG_NOTICE(Enabling PAM) + AC_CHECK_FUNCS(pam_fail_delay) else AC_DEFINE(DISABLE_PAM,, Use PAM) AC_MSG_NOTICE(Disabling PAM) |