summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorThorsten Kukuk <kukuk@thkukuk.de>2006-12-18 19:26:21 +0000
committerThorsten Kukuk <kukuk@thkukuk.de>2006-12-18 19:26:21 +0000
commit102d5d74caafb934682252b29115215c8f45454b (patch)
tree2d5cf4cb5d2ff7cd59913a78675d44fb44c6e297 /configure.in
parent8cdf517cae065073f12f5d37136625e4ec579bd5 (diff)
Relevant BUGIDs:
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).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index 08f1b4a4..eac7834c 100644
--- a/configure.in
+++ b/configure.in
@@ -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