diff --git a/acinclude.m4 b/acinclude.m4 index 1c7a7deae7..84cd588535 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 diff --git a/src/cf/linux-test3.m4 b/src/cf/linux-test3.m4 index ba0aaa39b4..cbc71e4f4a 100644 --- a/src/cf/linux-test3.m4 +++ b/src/cf/linux-test3.m4 @@ -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 ], - [#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 ], [],