Commit d8ad72cc authored by Laurent Bigonville's avatar Laurent Bigonville Committed by Simon McVittie Drop check for selinux/av_permissions.h

selinux/av_permissions.h is deprecated and is not even used in the code
since commit ba088208, in 2013.

Bug: Simon McVittie's avatarSimon McVittie <>
parent 41112638
......@@ -1014,19 +1014,6 @@ else
PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.0.86],
[have_selinux=yes], [have_selinux=no])
# see if we have the SELinux header with the new D-Bus stuff in it
if test x$have_selinux = xyes ; then
AC_MSG_CHECKING([for DBUS Flask permissions in selinux/av_permissions.h])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <selinux/av_permissions.h>]],
[[#ifdef DBUS__ACQUIRE_SVC return 0;
#error DBUS__ACQUIRE_SVC not defined
if test x$enable_selinux = xauto ; then
if test x$have_selinux = xno ; then
AC_MSG_WARN([Sufficiently new SELinux library not found])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment