From 940149ca98a4665ae1f76dce0ed012571db1f823 Mon Sep 17 00:00:00 2001 From: James Dingwall Date: Tue, 27 Mar 2012 13:36:11 +0100 Subject: [PATCH] Modify the PAM headers test in configure.ac to #include . This is required to compile conftest.c for pam_modutil.h on Gentoo with sys-libs/pam-1.1.5 sys-libs/glibc-2.13-r4 sys-devel/gcc-4.5.3-r2 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7fe06d2..27e6e86 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,8 @@ AC_PROG_LIBTOOL AC_CHECK_HEADERS([security/pam_appl.h], [], [AC_MSG_ERROR([[PAM header files not found, install libpam-dev.]])]) AC_CHECK_HEADERS([security/pam_modules.h security/_pam_macros.h security/pam_modutil.h], [], [], - [#include ]) + [#include + #include ]) AC_CHECK_LIB([pam], [pam_start])