]> granicus.if.org Git - linux-pam/commitdiff
Relevant BUGIDs:
authorThorsten Kukuk <kukuk@thkukuk.de>
Mon, 18 Dec 2006 19:26:21 +0000 (19:26 +0000)
committerThorsten Kukuk <kukuk@thkukuk.de>
Mon, 18 Dec 2006 19:26:21 +0000 (19:26 +0000)
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Fix ENOKEY check (specify errno.h as header
        file to search in).

.cvsignore
ChangeLog
configure.in

index 550f2ec9143f7ec3efb3989c54ca18330500ebee..c5eabb1410309d66becbf7580829d3da7caac8a1 100644 (file)
@@ -22,3 +22,4 @@ ltmain.sh
 compile
 missing
 depcomp
+ylwrap
index 94a1548832a248e0e3559e266874b068c735466d..c2bf2ddb508e045311e4933e5cfcba69d529681e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>
 
+       * configure.in: Fix ENOKEY check (specify errno.h as header
+       file to search in).
+
        * configure.in: Add AM_PROG_CC_C_O.
        * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
        * modules/pam_tally/Makefile.am: Likewise.
index 08f1b4a4bb61bc4464c747b276c15cfa9cd494ea..eac7834c2fe47274dd7f50ebd94e1c94ade72ec0 100644 (file)
@@ -466,10 +466,8 @@ dnl
 dnl Check for the availability of the kernel key management facility
 dnl - The pam_keyinit module only requires the syscalls, not the error codes
 dnl
-have_key_syscalls=0
-AC_CHECK_DECL(__NR_keyctl, [have_key_syscalls=1],,[#include <sys/syscall.h>])
-have_key_errors=0
-AC_CHECK_DECL(ENOKEY, [have_key_errors=1])
+AC_CHECK_DECL(__NR_keyctl, [have_key_syscalls=1],[have_key_syscalls=0],[#include <sys/syscall.h>])
+AC_CHECK_DECL(ENOKEY, [have_key_errors=1],[have_key_errors=0],[#include <errno.h>])
 
 HAVE_KEY_MANAGEMENT=0
 if test $have_key_syscalls$have_key_errors = 11