aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-01-06 03:07:20 +0000
committerJason Molenda <jmolenda@apple.com>2000-01-06 03:07:20 +0000
commitc3f6f71df382eaaaac4440a91e6f310d03fb8da6 (patch)
treef4c8a0660080321182558bd52319654a94e01ea5 /gdb/configure.in
parent1b45fe546b666d1bd83d474b66525f1a69dbd92f (diff)
downloadgdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.zip
gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.tar.gz
gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.tar.bz2
import gdb-2000-01-05 snapshot
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in29
1 files changed, 10 insertions, 19 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 0377402..4a04927 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -144,33 +144,24 @@ AC_MSG_RESULT($gdb_cv_hpux_sswide)
# If we are configured native on GNU/Linux, work around problems with
# sys/procfs.h
-# Also detect which type of /proc is in use, such as for Unixware.
+# Also detect which type of /proc is in use, such as for Unixware or Solaris.
if test "${target}" = "${host}"; then
- gdb_cv_hostos_is_solaris=no
case "${host}" in
i[[3456]]86-*-linux*)
AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2)
AC_DEFINE(sys_quotactl)
;;
- *-*-solaris*)
- gdb_cv_hostos_is_solaris=yes ;;
+ *-*-unixware* | *-*-sysv4.2uw2.* | *-*-sysv4.2uw7.*)
+ AC_DEFINE(NEW_PROC_API)
+ ;;
+ # FIXME: we would like to define NEW_PROC_API for all versions of
+ # Solaris from 2.6 on... but it isn't quite working yet. Seems
+ # to work on sparc 2.6, so let's try it out there.
+ sparc-sun-solaris2.6)
+ AC_DEFINE(NEW_PROC_API)
+ ;;
esac
- AC_MSG_CHECKING(for directory proc entries)
-# The [gdb_host != sun4sol2] hack is because Solaris does provide the
-# multiple procfs files as of Solaris 2.6, but GDB can't use it right now.
- if test "$ac_cv_header_sys_procfs_h" = yes -a \
- "$gdb_cv_hostos_is_solaris" = no \
- -a -d /proc/$$ \
- -a -f /proc/$$/ctl \
- -a -f /proc/$$/as \
- -a -f /proc/$$/map \
- -a -f /proc/$$/status; then
- AC_MSG_RESULT(yes)
- AC_DEFINE(HAVE_MULTIPLE_PROC_FDS)
- else
- AC_MSG_RESULT(no)
- fi
fi
if test "$ac_cv_header_sys_procfs_h" = yes; then