summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLaurent Bigonville <bigon@bigon.be>2017-05-04 14:06:14 +0200
committerSimon McVittie <smcv@collabora.com>2017-05-31 13:40:19 +0100
commitd8ad72ccb9335023861951f8e5fa891418b28333 (patch)
treef58c6f08b3dfcade5dde8dcdf3e5ec6a22f36ac3 /configure.ac
parent4111263800a0a6b2b00d43bfa7ad6d50ad77bd91 (diff)
configure.ac: Drop check for selinux/av_permissions.h
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>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 0 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 3a518d0f..b05c708b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])