summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2012-09-20 10:20:49 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-20 11:10:49 +0200
commit3f8cc098d218525710e5cbad9adf37001d3b6060 (patch)
tree99ff33344fda6b0892cdeed6ee4e4d813eb931ab
parent040f18ea8a682dc80c9f3940cf234ccd1135e115 (diff)
build-sys: require certain version of libselinux
./.libs/libsystemd-core.a(libsystemd_core_la-selinux-access.o): In function "selinux_access_check": src/core/selinux-access.c:487: undefined reference to "selinux_check_access"
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b9891369a1..9cb9d83553 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])