* configure.in: Define _MSE_INT_H on Solaris 9 too.

* configure, config.in: Regenerated.
This commit is contained in:
Mark Kettenis 2004-07-17 11:24:26 +00:00
parent 7ddd770914
commit b1d19a627e
4 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,8 @@
2004-07-17 Mark Kettenis <kettenis@gnu.org> 2004-07-17 Mark Kettenis <kettenis@gnu.org>
* configure.in: Define _MSE_INT_H on Solaris 9 too.
* configure, config.in: Regenerated.
* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and * vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h". "bsd-kvm.h".
(vaxbsd_supply_pcb): New function. (vaxbsd_supply_pcb): New function.

View file

@ -450,7 +450,7 @@
#undef HAVE__ETEXT #undef HAVE__ETEXT
/* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on /* Define to 1 to avoid a clash between <widec.h> and <wchar.h> on
Solaris 2.[78] when using GCC. */ Solaris 2.[789] when using GCC. */
#undef _MSE_INT_H #undef _MSE_INT_H
/* Define to 1 if we found this declaration otherwise define to 0. */ /* Define to 1 if we found this declaration otherwise define to 0. */

4
gdb/configure vendored
View file

@ -5563,11 +5563,11 @@ fi
done done
# On Solaris 2.[78], we need to define _MSE_INT_H to avoid a clash # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
# between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
# think that we don't have <curses.h> if we're using GCC. # think that we don't have <curses.h> if we're using GCC.
case $host_os in case $host_os in
solaris2.[78]) solaris2.[789])
if test "$GCC" = yes; then if test "$GCC" = yes; then
cat >> confdefs.h <<\EOF cat >> confdefs.h <<\EOF
#define _MSE_INT_H 1 #define _MSE_INT_H 1

View file

@ -369,15 +369,15 @@ AC_CHECK_HEADERS(sys/wait.h wait.h)
AC_CHECK_HEADERS(termios.h termio.h sgtty.h) AC_CHECK_HEADERS(termios.h termio.h sgtty.h)
AC_CHECK_HEADERS(unistd.h) AC_CHECK_HEADERS(unistd.h)
# On Solaris 2.[78], we need to define _MSE_INT_H to avoid a clash # On Solaris 2.[789], we need to define _MSE_INT_H to avoid a clash
# between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to # between <widec.h> and <wchar.h> that would cause AC_CHECK_HEADERS to
# think that we don't have <curses.h> if we're using GCC. # think that we don't have <curses.h> if we're using GCC.
case $host_os in case $host_os in
solaris2.[[78]]) solaris2.[[789]])
if test "$GCC" = yes; then if test "$GCC" = yes; then
AC_DEFINE(_MSE_INT_H, 1, AC_DEFINE(_MSE_INT_H, 1,
[[Define to 1 to avoid a clash between <widec.h> and <wchar.h> on [[Define to 1 to avoid a clash between <widec.h> and <wchar.h> on
Solaris 2.[78] when using GCC. ]]) Solaris 2.[789] when using GCC. ]])
fi ;; fi ;;
esac esac
AC_CHECK_HEADERS(curses.h ncurses.h term.h) AC_CHECK_HEADERS(curses.h ncurses.h term.h)