DEVEL15-linux-key-type-detection-once-20080123
authorDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2008 13:47:34 +0000 (13:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 23 Jan 2008 13:47:34 +0000 (13:47 +0000)
LICENSE IPL10

doubled configure test from 2 sources.

(cherry picked from commit 9a45a546747dad7a70b24b76b1a02bf398c22762)

src/cf/linux-test4.m4

index 22c2631..6e4fda2 100644 (file)
@@ -950,16 +950,6 @@ _fop.splice_read(NULL, NULL, NULL, 0, 0);],
       ac_cv_linux_fs_struct_fop_has_splice=no)])
   AC_MSG_RESULT($ac_cv_linux_fs_struct_fop_has_splice)])
 
-AC_DEFUN([LINUX_KEY_TYPE_H_EXISTS], [
-  AC_MSG_CHECKING([whether linux/key-type.h exists])
-  AC_CACHE_VAL([ac_cv_linux_key_type_h_exists], [
-    AC_TRY_KBUILD(
-[#include <linux/key-type.h>],
-[return;],
-      ac_cv_linux_key_type_h_exists=yes,
-      ac_cv_linux_key_type_h_exists=no)])
-  AC_MSG_RESULT($ac_cv_linux_key_type_h_exists)])
-
 AC_DEFUN([LINUX_HAVE_CURRENT_KERNEL_TIME], [
   AC_MSG_CHECKING([for current_kernel_time()])
   AC_CACHE_VAL([ac_cv_linux_have_current_kernel_time], [