[PATCH] Fix key management support detection

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

 



				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.
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 \
_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux