From: Derrick Brashear Date: Sat, 14 Oct 2006 15:57:37 +0000 (+0000) Subject: keyring-pag-more-needed-defines-20061014 X-Git-Tag: BP-openafs-windows-kdfs-ifs~978 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=78c9881ed35d09416ddbd464214bb41f4429d05a;p=packages%2Fo%2Fopenafs.git keyring-pag-more-needed-defines-20061014 some kernel don't have this. for post-1.4.2 --- diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4 index 2c2942336..d7f627a4f 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