]> git.lizzy.rs Git - rust.git/commitdiff
Fix unnecessary tool detection at non-Linux OSes, fix GRSecurity detection documentat...
authorauREAX <mark@xn--hwg34fba.ws>
Thu, 4 Oct 2012 21:51:54 +0000 (23:51 +0200)
committerauREAX <mark@xn--hwg34fba.ws>
Thu, 4 Oct 2012 22:00:55 +0000 (00:00 +0200)
configure

index 07e22bed8d6d0d6f5816a03ece9a2508d90b423e..dd734f53a3fd2eac7b0be66509e014b0e8d709f2 100755 (executable)
--- a/configure
+++ b/configure
@@ -344,8 +344,11 @@ probe CFG_PDFLATEX         pdflatex
 probe CFG_XETEX            xetex
 probe CFG_LUATEX           luatex
 probe CFG_NODE             nodejs node
-probe CFG_PAXCTL           paxctl /sbin/paxctl
-probe CFG_ZCAT             zcat
+if [ "$CFG_OSTYPE" = "unknown-linux-gnu" ]
+then
+    probe CFG_PAXCTL           paxctl /sbin/paxctl
+    probe CFG_ZCAT             zcat
+fi
 
 if [ ! -z "$CFG_PANDOC" ]
 then
@@ -370,8 +373,7 @@ then
         GRSEC_DETECTED=
 
         # /dev/grsec only exists if CONFIG_GRKERNSEC_NO_RBAC is not set.
-        # /proc is normally only available to root and users in the CONFIG_GRKERNSEC_PROC_GID group,
-        # and /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
+        # /proc/sys/kernel/grsecurity is not available if ÇONFIG_GRKERNSEC_SYSCTL is not set.
         if [ -e /dev/grsec -o -d /proc/sys/kernel/grsecurity ]
         then
             GRSEC_DETECTED=1