summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 8e2a40a..091cc98 100644
--- a/configure.in
+++ b/configure.in
@@ -131,7 +131,11 @@ if test x$with_pam = xtrue; then
AC_CHECK_LIB(
[pam],
[pam_syslog],
- [],
+ [
+ dnl Override the default behavior of AC_CHECK_LIB,
+ dnl we don't want -lpam in LIBS.
+ :
+ ],
[AC_MSG_ERROR([Cannot compile PAM module without libpam!])])
AC_CHECK_HEADERS(