Disable procfs for solaris

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze_1_8_0@17569 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2003-08-29 15:18:22 +00:00
parent c55194ed8a
commit 93fd8e87c5
3 changed files with 12 additions and 6 deletions

View file

@ -1,3 +1,7 @@
2003-08-29 Adam Fedor <fedor@gnu.org>
* config/procfs.m4: Disable procfs for solaris
2003-08-26 Adam Fedor <fedor@gnu.org>
* Source/NSMessagePort.m: For older OS comptibility, define some

View file

@ -14,12 +14,13 @@ AC_DEFUN(AC_SYS_PROCFS,
# works fine
if (mount | grep 'proc' >/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
case "$target_os" in
# Solaris has proc, but it is not readable
solaris*) ac_cv_sys_procfs=no;;
esac
elif test "$enable_procfs" = cross; then
AC_MSG_WARN(Pass --enable-procfs argument to enable use of /proc filesystem.)
else

7
configure vendored
View file

@ -11763,12 +11763,13 @@ else
# works fine
if (mount | grep 'proc' >/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
case "$target_os" in
# Solaris has proc, but it is not readable
solaris*) ac_cv_sys_procfs=no;;
esac
elif test "$enable_procfs" = cross; then
{ echo "$as_me:$LINENO: WARNING: Pass --enable-procfs argument to enable use of /proc filesystem." >&5
echo "$as_me: WARNING: Pass --enable-procfs argument to enable use of /proc filesystem." >&2;}