From 49155d51cce92dd5023c31e10ee140d81d91e8b2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 20 Sep 2004 21:53:15 +0000 Subject: If selinux has not explictly been requested, don't comment on it missing. --- configure.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'configure.in') 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 -- cgit v1.2.3