This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix SPARC Solaris 9 build problem
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 17 Jul 2004 13:29:18 +0200 (CEST)
- Subject: [PATCH] Fix SPARC Solaris 9 build problem
I encountered a Solaris 9 box that needs the same hack as Solaris 7 &
8, so I committed this to mainline and the branch.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.in: Define _MSE_INT_H on Solaris 9 too.
* configure, config.in: Regenerated.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gdb/configure.in,v
retrieving revision 1.157
diff -u -p -r1.157 configure.in
--- configure.in 27 Jun 2004 16:41:21 -0000 1.157
+++ configure.in 17 Jul 2004 11:18:12 -0000
@@ -369,15 +369,15 @@ AC_CHECK_HEADERS(sys/wait.h wait.h)
AC_CHECK_HEADERS(termios.h termio.h sgtty.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
# think that we don't have <curses.h> if we're using GCC.
case $host_os in
- solaris2.[[78]])
+ solaris2.[[789]])
if test "$GCC" = yes; then
AC_DEFINE(_MSE_INT_H, 1,
[[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 ;;
esac
AC_CHECK_HEADERS(curses.h ncurses.h term.h)