From c40a87c622ac1543dc2d9cdccc651e33affadcfa Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Thu, 15 Mar 2007 14:04:05 -0400 Subject: fix missed pam_syslog change Also make the configure checks simpler. --- configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 49efb75..5e85b36 100644 --- a/configure.ac +++ b/configure.ac @@ -176,9 +176,8 @@ fi AC_SUBST(HAVE_PAM) AC_SUBST(PAM_LIBS) -AC_CHECK_HEADER(security/pam_modutil.h, [AC_DEFINE(HAVE_PAM_MODUTIL_H, [], "Have pam_modutil.h")]) -AC_CHECK_HEADER(security/pam_ext.h, [AC_DEFINE(HAVE_PAM_EXT_H, [], "Have pam_ext.h")]) -AC_CHECK_LIB(pam, pam_syslog, [AC_DEFINE(HAVE_PAM_SYSLOG, [], "Have pam_syslog")]) +AC_CHECK_HEADERS(security/pam_modutil.h security/pam_ext.h) +AC_CHECK_LIB(pam, pam_syslog, [AC_DEFINE(HAVE_PAM_SYSLOG, [], [Define to 1 if you have the pam_syslog function])]) # Check if we should build the PAM module msg_pam_module=no -- cgit