[SSSD] [PATCH] CONFIGURE: Remove duplicate detection of pam

Lukas Slebodnik lslebodn at redhat.com
Sat May 17 17:37:22 UTC 2014


ehlo,

just a reduction of configure.ac.

The same test is in file src/external/pam.m4

patch is attached.

LS
-------------- next part --------------
>From fec0bb48b0449a0c933882396ffac24f6897006b Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn at redhat.com>
Date: Sat, 17 May 2014 18:50:00 +0200
Subject: [PATCH 4/5] CONFIGURE: Remove duplicate detection of pam

The same test is in file src/external/pam.m4
---
 configure.ac | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index c663f5eeee7e2f06473e266cb6fe646b4d07c8d8..364c9ee69a2eb079669a1ed346c47af72f30d18a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,12 +68,6 @@ LIBS=$SAVE_LIBS
 AC_CHECK_FUNCS([ utimensat \
                  futimens ])
 
-#Check for PAM headers
-AC_CHECK_HEADERS([security/pam_appl.h security/pam_misc.h security/pam_modules.h],
-    [AC_CHECK_LIB(pam, pam_get_item, [ PAM_LIBS="-lpam" ], [AC_MSG_ERROR([PAM must support pam_get_item])])],
-    [AC_MSG_ERROR([PAM development libraries not installed])]
-)
-
 #Check for endian headers
 AC_CHECK_HEADERS([endian.h sys/endian.h byteswap.h])
 
-- 
1.9.0



More information about the sssd-devel mailing list