From d8ad72ccb9335023861951f8e5fa891418b28333 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Thu, 4 May 2017 14:06:14 +0200 Subject: 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 --- configure.ac | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'configure.ac') 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 ]], - [[#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]) -- cgit v1.2.3