X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=configure.ac;h=9cb9d8355369ef04adeb90dddeb6ba5869e5e5f5;hp=b9891369a14ed9c038c3b2ae4a133cd60150ccf8;hb=3f8cc098d218525710e5cbad9adf37001d3b6060;hpb=040f18ea8a682dc80c9f3940cf234ccd1135e115 diff --git a/configure.ac b/configure.ac index b9891369a..9cb9d8355 100644 --- a/configure.ac +++ b/configure.ac @@ -203,7 +203,7 @@ fi have_selinux=no AC_ARG_ENABLE(selinux, AS_HELP_STRING([--disable-selinux], [Disable optional SELINUX support])) if test "x$enable_selinux" != "xno"; then - PKG_CHECK_MODULES(SELINUX, [ libselinux ], + PKG_CHECK_MODULES([SELINUX], [libselinux >= 2.1.9], [AC_DEFINE(HAVE_SELINUX, 1, [Define if SELinux is available]) have_selinux=yes], have_selinux=no) if test "x$have_selinux" = xno -a "x$enable_selinux" = xyes; then AC_MSG_ERROR([*** SELinux support requested but libraries not found])