From 78c9881ed35d09416ddbd464214bb41f4429d05a Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Sat, 14 Oct 2006 15:57:37 +0000 Subject: [PATCH] keyring-pag-more-needed-defines-20061014 some kernel don't have this. for post-1.4.2 --- src/cf/linux-test4.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 2c29423367..d7f627a4fb 100644 --- a/src/cf/linux-test4.m4 +++ b/src/cf/linux-test4.m4 @@ -617,8 +617,8 @@ AC_DEFUN([LINUX_LINUX_KEYRING_SUPPORT], [ #include ], [#ifdef CONFIG_KEYS request_key(NULL, NULL, NULL); -#if !defined(KEY_POS_VIEW) || !defined(KEY_POS_SEARCH) -#error "Your linux/key.h does not contain KEY_POS_VIEW or KEY_POS_SEARCH" +#if !defined(KEY_POS_VIEW) || !defined(KEY_POS_SEARCH) || !defined(KEY_POS_SETATTR) +#error "Your linux/key.h does not contain KEY_POS_VIEW or KEY_POS_SEARCH or KEY_POS_SETATTR" #endif #else #error rebuild your kernel with CONFIG_KEYS