If selinux has not explictly been requested, don't comment on it missing.

This commit is contained in:
Ulrich Drepper 2004-09-20 21:53:15 +00:00
parent f6f43da73f
commit 49155d51cc

View 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