[PATCH] Fix key management support detection

Dan Yefimov dan at D00M.lightwave.net.ru
Sat Jul 1 20:33:29 UTC 2006


				Hello!
	Linux-PAM 0.99.5.0 has erroneous key management support detection. 
configure.in has incorrect statement at line 488:

AM_CONDITIONAL([HAVE_KEY_MANAGEMENT], [test ! -z "$have_key_syscalls"])

In that context have_key_syscalls is never either unset or having null value.
Atached patch contains trivial fix for the problem. Please apply.
-- 

    Sincerely Your, Dan.
-------------- next part --------------
Fix incorrect check for system key management support.
--- configure.in.keyinit	2006-07-01 21:51:05.000000000 +0400
+++ configure.in	2006-07-01 22:18:30.000000000 +0400
@@ -488,7 +488,7 @@
 fi
 AC_SUBST([HAVE_KEY_MANAGEMENT], $HAVE_KEY_MANAGEMENT)
 
-AM_CONDITIONAL([HAVE_KEY_MANAGEMENT], [test ! -z "$have_key_syscalls"])
+AM_CONDITIONAL([HAVE_KEY_MANAGEMENT], [test "$have_key_syscalls" = 1])
 
 dnl Files to be created from when we run configure
 AC_OUTPUT(Makefile libpam/Makefile libpamc/Makefile libpamc/test/Makefile \


More information about the Pam-list mailing list