[patch] Fix build failure if pam libraries aren't installed

Simon Horman <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
Hi all,

I have pushed the following change to fix a regression.

# HG changeset patch
# User Simon Horman <[email protected]>
# Date 1280553826 -32400
# Node ID aeff92473a55f077295220c1ff5ea7eb0ba82e76
# Parent  2178a55280292c9822e0d1a5031ce23487eeee72
Fix build failure if pam libraries aren't installed

This is a regression between 1.19-rc2 and 1.19-rc3 caused
by the addition of --diasble-pam.

./configure --disable-pam is a work-around for this problem

Reported-by: Dominique Marant <[email protected]>
Signed-off-by: Simon Horman <[email protected]>

diff -r 2178a5528029 -r aeff92473a55 configure.ac
--- a/configure.ac	Fri Jul 30 16:02:17 2010 +0900
+++ b/configure.ac	Sat Jul 31 14:23:46 2010 +0900
@@ -906,7 +906,7 @@
   security/pam_appl.h, 
   true,
   [
-    pam=no
+    enable_pam=no
 AC_MSG_WARN(
 ""
 "**********************************************************************"
@@ -926,7 +926,7 @@
   pam_authenticate,
   true,
   [ 
-    pam=no
+    enable_pam=no
 AC_MSG_WARN(
 ""
 "**********************************************************************"

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.