about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-20 21:53:15 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-20 21:53:15 +0000
commit49155d51cce92dd5023c31e10ee140d81d91e8b2 (patch)
tree9f20841790eb128e66e1328935c9beb86a70b4fc /configure.in
parentf6f43da73fd9b4e758959e854c40feb69a762aad (diff)
downloadglibc-49155d51cce92dd5023c31e10ee140d81d91e8b2.tar.gz
glibc-49155d51cce92dd5023c31e10ee140d81d91e8b2.tar.xz
glibc-49155d51cce92dd5023c31e10ee140d81d91e8b2.zip
If selinux has not explictly been requested, don't comment on it missing.
Diffstat (limited to 'configure.in')
-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