Drop checks for unused selinux functions

This commit is contained in:
Panu Matilainen 2022-06-16 09:04:13 +03:00
parent 48d0fa954c
commit 7894a244f6
1 changed files with 0 additions and 4 deletions

View File

@ -638,10 +638,6 @@ AS_IF([test "$with_selinux" = yes],[
save_LIBS="$LIBS"
AC_CHECK_LIB([selinux],[is_selinux_enabled],[],[
AC_MSG_ERROR([--with-selinux given, but is_selinux_enabled not found in libselinux])])
AC_CHECK_LIB([selinux],[selinux_getpolicytype],[],[
AC_MSG_ERROR([--with-selinux given, but selinux_getpolicytype not found in libselinux])])
AC_CHECK_LIB([selinux],[selinux_reset_config],[],[
AC_MSG_ERROR([--with-selinux given, but selinux_reset_config not found in libselinux])])
AC_CHECK_LIB([selinux],[setexecfilecon],[
AC_DEFINE([HAVE_SETEXECFILECON],[1],[Define to 1 if SELinux setexecfilecon is present])])
LIBS="$save_LIBS"