keyring-pag-more-needed-defines-20061014

some kernel don't have this. for post-1.4.2
This commit is contained in:
Derrick Brashear 2006-10-14 15:57:37 +00:00
parent 3e10dc3a84
commit 78c9881ed3

View File

@ -617,8 +617,8 @@ AC_DEFUN([LINUX_LINUX_KEYRING_SUPPORT], [
#include <linux/keyctl.h>],
[#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