diff options
author | Nicholas Duffek <nsd@redhat.com> | 2000-04-07 01:16:17 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2000-04-07 01:16:17 +0000 |
commit | 6abadcf80ea7ffe581cc04ddd2658faff5ac4a07 (patch) | |
tree | 39d0c9cbd896aeb96abcced83af7e0b9e8067a8d /gdb/configure.in | |
parent | 2f09097b734af8840d2141a26a53b9c67e67fcf2 (diff) | |
download | gdb-6abadcf80ea7ffe581cc04ddd2658faff5ac4a07.zip gdb-6abadcf80ea7ffe581cc04ddd2658faff5ac4a07.tar.gz gdb-6abadcf80ea7ffe581cc04ddd2658faff5ac4a07.tar.bz2 |
* configure.in (_MSE_INT_H): Define on Solaris 7.
(NEW_PROC_API): Define on Solaris 7 and 8 as well as 6.
* acconfig.h (_MSE_INT_H): Define on Solaris 7.
* configure: Regenerate.
* config.in: Regenerate.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index e486cb5..48beb0b 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -88,6 +88,14 @@ AC_TYPE_SIGNAL AC_HEADER_STDC +dnl Solaris 7 needs _MSE_INT_H defined to avoid a clash between <widec.h> +dnl and <wchar.h> that causes AC_CHECK_HEADERS to think <curses.h> doesn't +dnl exist. + +case $host_os in solaris2.7) case "$GCC" in yes) + AC_DEFINE(_MSE_INT_H) +esac; esac + AC_CHECK_HEADERS(ctype.h curses.h endian.h link.h thread_db.h proc_service.h \ memory.h objlist.h ptrace.h sgtty.h stddef.h stdlib.h \ string.h sys/procfs.h sys/ptrace.h sys/reg.h stdint.h \ @@ -176,10 +184,7 @@ if test "${target}" = "${host}"; then *-*-unixware* | *-*-sysv4.2* | *-*-sysv5*) 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) + *-*-solaris2.[678]) AC_DEFINE(NEW_PROC_API) ;; esac |