mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Reverted part of last change as it didn't work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
568a83caf3
commit
1b6984ae85
1 changed files with 8 additions and 1 deletions
9
aclocal.m4
vendored
9
aclocal.m4
vendored
|
@ -206,8 +206,15 @@ AC_DEFUN(AC_SYS_PROCFS,
|
|||
|
||||
AC_CACHE_CHECK([kernel support for /proc filesystem], ac_cv_sys_procfs,
|
||||
[if test "$enable_procfs" = yes; then
|
||||
if test -d /proc/0; then
|
||||
# Suggested change for the following line was
|
||||
# if test -d /proc/0; then
|
||||
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
||||
# works fine
|
||||
if (grep proc /etc/fstab >/dev/null 2>/dev/null); then
|
||||
ac_cv_sys_procfs=yes
|
||||
# Solaris has proc, but for some reason the dir is not readable
|
||||
# elif (grep proc /etc/vfstab >/dev/null 2>/dev/null); then
|
||||
# ac_cv_sys_procfs=yes
|
||||
else
|
||||
ac_cv_sys_procfs=no
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue