Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 12bc4992d0168c6f45cd96f7f859f120 > files > 1

gnustep-base-1.16.3-3mdv2009.0.src.rpm

--- config/procfs.m4.orig	2008-08-20 12:11:35.000000000 +0300
+++ config/procfs.m4	2008-08-20 12:21:43.000000000 +0300
@@ -18,7 +18,7 @@
   #  if test -d /proc/0; then
   # but it doesn't work on my linux - /proc/0 does not exist, but /proc
   # works fine
-    if (mount | grep 'proc' >/dev/null 2>/dev/null); then 
+    if grep 'proc' /proc/mounts >/dev/null 2>/dev/null; then 
       ac_cv_sys_procfs=yes
     else
       ac_cv_sys_procfs=no