SELinux detection on GNU/Hurd..

Alfred M. Szmidt ams@kemisten.nu
Mon Sep 20 20:04:00 GMT 2004


Ulrich, Roland, what do you consider about disabling the SELinux
detection warning on both GNU/Hurd and GNU/Linux?  Patch applied.

Another solution is to just enable the check only for GNU/Linux, but
that is obviously stupid for various reasons since GNU/Hurd might get
SELinux support (unlikly, but a possibility).

checking for is_selinux_enabled in -lselinux... no
configure: WARNING: Sufficiently new SELinux library not found

2004-09-20  Alfred M. Szmidt  <ams@kemisten.nu>

	* configure.in: Warning about missing SELinux library removed.

--- configure.in	20 Sep 2004 21:47:49 +0200	1.428
+++ configure.in	20 Sep 2004 21:57:32 +0200	
@@ -1981,11 +1981,7 @@ else
     AC_MSG_RESULT($have_selinux)
   fi
 
-  if test x$with_selinux = xauto ; then
-    if test x$have_selinux = xno ; then
-      AC_MSG_WARN([Sufficiently new SELinux library not found])
-    fi
-  else
+  if test x$with_selinux != xauto ; then
     if test x$have_selinux = xno ; then
       AC_MSG_ERROR([SELinux explicitly required, and SELinux library not found])
     fi



More information about the Libc-alpha mailing list