* 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.
This commit is contained in:
Nicholas Duffek 2000-04-07 01:16:17 +00:00
parent 2f09097b73
commit 6abadcf80e
5 changed files with 214 additions and 190 deletions

View File

@ -1,3 +1,11 @@
2000-04-06 Nick Duffek <nsd@cygnus.com>
* 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.
2000-04-06 Michael Snyder <msnyder@cygnus.com>
* sol-thread.c (GET_LWP, GET_THREAD, BUILD_LWP, BUILD_THREAD):

View File

@ -1,3 +1,6 @@
/* Define if compiling on Solaris 7. */
#undef _MSE_INT_H
/* Define if pstatus_t type is available */
#undef HAVE_PSTATUS_T

View File

@ -59,6 +59,9 @@
/* Define if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if compiling on Solaris 7. */
#undef _MSE_INT_H
/* Define if you want to use new multi-fd /proc interface
(replaces HAVE_MULTIPLE_PROC_FDS as well as other macros). */
#undef NEW_PROC_API

377
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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