This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[PATCH] configure.in: Fix solaris2.[678] check for NEW_PROC_ABI
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] configure.in: Fix solaris2.[678] check for NEW_PROC_ABI
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Sat, 8 Apr 2000 13:19:29 MET DST
FYI,
I checked in the attached patch.
2000-04-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
* configure.in (NEW_PROC_API): Escape square brackets when testing
for solaris2.[678].
* configure: Regenerate.
--- ./configure.in.orig Fri Apr 7 18:29:32 2000
+++ ./configure.in Fri Apr 7 19:40:32 2000
@@ -184,7 +184,7 @@ if test "${target}" = "${host}"; then
*-*-unixware* | *-*-sysv4.2* | *-*-sysv5*)
AC_DEFINE(NEW_PROC_API)
;;
- *-*-solaris2.[678])
+ *-*-solaris2.[[678]])
AC_DEFINE(NEW_PROC_API)
;;
esac
--- ./configure.orig Fri Apr 7 18:29:31 2000
+++ ./configure Fri Apr 7 19:40:42 2000
@@ -4259,7 +4259,7 @@ EOF
EOF
;;
- *-*-solaris2.678)
+ *-*-solaris2.[678])
cat >> confdefs.h <<\EOF
#define NEW_PROC_API 1
EOF
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de