Linux: Remove unused LINUX_KERNEL_SELINUX test

This test needs <linux/autoconf.h>, which has moved in 2.6.33.  It is
also unused (it was removed in master by commit
35d5b6c4e101c92e2c242bb75029db24eb1aa7d7).

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Change-Id: I7876fed2ed2b0395cdf29c71edfdad1089c88cce
Reviewed-on: http://gerrit.openafs.org/1354
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Anders Kaseorg 2010-02-20 14:47:45 -05:00 committed by Derrick Brashear
parent 98de1de604
commit 1a7c9185ed
2 changed files with 0 additions and 18 deletions

View File

@ -781,7 +781,6 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
LINUX_KERNEL_POSIX_LOCK_FILE_WAIT_ARG
LINUX_POSIX_TEST_LOCK_RETURNS_CONFLICT
LINUX_POSIX_TEST_LOCK_CONFLICT_ARG
LINUX_KERNEL_SELINUX
LINUX_KERNEL_SOCK_CREATE
LINUX_KERNEL_PAGE_FOLLOW_LINK
LINUX_KERNEL_HLIST_UNHASHED
@ -954,9 +953,6 @@ case $AFS_SYSNAME in *_linux* | *_umlinux*)
if test "x$ac_cv_linux_kernel_posix_lock_file_wait_arg" = "xyes" ; then
AC_DEFINE(POSIX_LOCK_FILE_WAIT_ARG, 1, [define if your linux kernel uses 3 arguments for posix_lock_file])
fi
if test "x$ac_cv_linux_kernel_is_selinux" = "xyes" ; then
AC_DEFINE(LINUX_KERNEL_IS_SELINUX, 1, [define if your linux kernel uses SELinux features])
fi
if test "x$ac_cv_linux_kernel_sock_create_v" = "xyes" ; then
AC_DEFINE(LINUX_KERNEL_SOCK_CREATE_V, 1, [define if your linux kernel uses 5 arguments for sock_create])
fi

View File

@ -69,20 +69,6 @@ fi
AC_SUBST(MPS)
])
AC_DEFUN([LINUX_KERNEL_SELINUX],[
AC_MSG_CHECKING(for SELinux kernel)
AC_CACHE_VAL(ac_cv_linux_kernel_is_selinux,
[
AC_TRY_KBUILD(
[#include <linux/autoconf.h>],
[#ifndef CONFIG_SECURITY_SELINUX
#error not SELINUX
#endif],
ac_cv_linux_kernel_is_selinux=yes,
ac_cv_linux_kernel_is_selinux=no)])
AC_MSG_RESULT($ac_cv_linux_kernel_is_selinux)
])
AC_DEFUN([LINUX_KERNEL_LINUX_SEQ_FILE_H],[
AC_MSG_CHECKING(for linux/seq_file.h in kernel)
AC_TRY_KBUILD([#include <linux/seq_file.h>], [],