summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.in8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index 19b8ba504a..829e93578b 100644
--- a/configure.in
+++ b/configure.in
@@ -1981,13 +1981,9 @@ else
AC_MSG_RESULT($have_selinux)
fi
- if test x$with_selinux = xauto ; then
+ if test x$with_selinux = xyes ; then
if test x$have_selinux = xno ; then
- AC_MSG_WARN([Sufficiently new SELinux library not found])
- fi
- else
- if test x$have_selinux = xno ; then
- AC_MSG_ERROR([SELinux explicitly required, and SELinux library not found])
+ AC_MSG_ERROR([SELinux explicitly required, but sufficiently recent SELinux library not found])
fi
fi
fi