This is the mail archive of the
gdb@sourceware.cygnus.com
mailing list for the GDB project.
A patch for Solairis 2.7/x86.
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: A patch for Solairis 2.7/x86.
- From: "H . J . Lu" <hjl at valinux dot com>
- Date: Tue, 7 Mar 2000 13:53:47 -0800
- Cc: GDB <gdb at sourceware dot cygnus dot com>
I have reported it long time ago. I am resending my patch now.
---
2000-03-07 H.J. Lu <hjl@gnu.org>
* config/i386/xm-i386sol2.h: New. Include "i386/xm-i386v4.h"
and define HAVE_CURSES_H.
* config/i386/i386sol2.mh (XM_FILE): Set to xm-i386sol2.h.
Index: config/i386/i386sol2.mh
===================================================================
RCS file: /work/cvs/gnu/gdb/gdb/config/i386/i386sol2.mh,v
retrieving revision 1.1.1.3
diff -u -p -r1.1.1.3 i386sol2.mh
--- config/i386/i386sol2.mh 2000/02/04 20:22:09 1.1.1.3
+++ config/i386/i386sol2.mh 2000/02/04 20:24:35
@@ -1,6 +1,6 @@
# Host: Intel 386 running Solaris 2 (SVR4)
-XM_FILE= xm-i386v4.h
+XM_FILE= xm-i386sol2.h
XDEPFILES=
NAT_FILE= nm-i386sol2.h
--- /dev/null Tue May 5 13:32:27 1998
+++ config/i386/xm-i386sol2.h Tue Sep 14 11:29:56 1999
@@ -0,0 +1,6 @@
+#include "i386/xm-i386v4.h"
+
+/* On sol2.7, <curses.h> emits a bunch of 'macro redefined'
+ warnings, which makes autoconf think curses.h doesn't
+ exist. Compensate fot that here. */
+#define HAVE_CURSES_H 1