[gnome-keyring] [pam] Fix PAM header test.



commit 19f50bcdd0e762625c03b66a5533eecda0ada391
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 1 01:06:20 2010 +0000

    [pam] Fix PAM header test.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=628457

 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index 447834c..f09efdb 100644
--- a/configure.in
+++ b/configure.in
@@ -251,7 +251,7 @@ AC_ARG_ENABLE(pam,
 
 pam_status="no"
 if test "$enable_pam" != "no"; then
-	AC_CHECK_HEADER(security/pam_modules.h, have_pam=yes, have_pam=no)
+	AC_CHECK_HEADERS(security/pam_modules.h pam/pam_modules.h, [have_pam=yes; break], have_pam=no)
 	if test "$enable_pam" = "yes" -a "$have_pam" = "no"; then
 		AC_MSG_ERROR(The PAM headers are missing)
 	elif test "$have_pam" = "yes"; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]