]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
configure.ac: Drop check for selinux/av_permissions.h
authorLaurent Bigonville <bigon@bigon.be>
Thu, 4 May 2017 12:06:14 +0000 (14:06 +0200)
committerSimon McVittie <smcv@collabora.com>
Wed, 31 May 2017 12:40:19 +0000 (13:40 +0100)
selinux/av_permissions.h is deprecated and is not even used in the code
since commit ba088208bc0c35ca418a097a8482c4a7705f4a43, in 2013.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100912
Reviewed-by: Simon McVittie <smcv@collabora.com>
configure.ac

index 3a518d0fa10ec74634eaea4b195f8e4531da5ed9..b05c708bfa4a4460ffa0b27e8db57043601f69c8 100644 (file)
@@ -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;
-                           #else
-                           #error DBUS__ACQUIRE_SVC not defined
-                           #endif]])],
-                          [have_selinux=yes],
-                          [have_selinux=no])
-       AC_MSG_RESULT($have_selinux)
-    fi
-
     if test x$enable_selinux = xauto ; then
         if test x$have_selinux = xno ; then
                 AC_MSG_WARN([Sufficiently new SELinux library not found])