If selinux has not explictly been requested, don't comment on it missing.
authorUlrich Drepper <drepper@redhat.com>
Mon, 20 Sep 2004 21:53:15 +0000 (21:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 20 Sep 2004 21:53:15 +0000 (21:53 +0000)
configure.in

index 19b8ba5..829e935 100644 (file)
@@ -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