mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Improve proc filesystem check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2de7a94930
commit
3eae84d351
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-08-20 Yavor Doganov <yavor@gnu.org> (tiny change)
|
||||||
|
|
||||||
|
* config/procfs.m4: Check for `proc' in /proc/mounts rather than
|
||||||
|
relying on the output of `mount'; fixes build issue in
|
||||||
|
chroots. Reported by Funda Wang (bug #23876).
|
||||||
|
|
||||||
2008-07-17 Richard Frith-Macdonald <rfm@gnu.org>
|
2008-07-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/Additions/GSCategories.m: littleEndian() fix to work on
|
* Source/Additions/GSCategories.m: littleEndian() fix to work on
|
||||||
|
|
|
@ -18,7 +18,7 @@ AC_DEFUN(AC_SYS_PROCFS,
|
||||||
# if test -d /proc/0; then
|
# if test -d /proc/0; then
|
||||||
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
||||||
# works fine
|
# 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
|
ac_cv_sys_procfs=yes
|
||||||
else
|
else
|
||||||
ac_cv_sys_procfs=no
|
ac_cv_sys_procfs=no
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -15749,7 +15749,7 @@ else
|
||||||
# if test -d /proc/0; then
|
# if test -d /proc/0; then
|
||||||
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
# but it doesn't work on my linux - /proc/0 does not exist, but /proc
|
||||||
# works fine
|
# 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
|
ac_cv_sys_procfs=yes
|
||||||
else
|
else
|
||||||
ac_cv_sys_procfs=no
|
ac_cv_sys_procfs=no
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue