/usr/include/curses.h not fixed on sparc-sun-solaris2.5.1

Manfred Hollstein manfred@s-direktnet.de
Tue Apr 21 07:12:00 GMT 1998


This change to gcc's configure.in:

Wed Sep 17 14:17:26 1997  Paul Eggert  <eggert@twinsun.com>

	* configure.in (AC_CHECK_HEADERS): Add inttypes.h, limits.h.
	({sparc,i[3456]86,powerpcle}-*-solaris2*): Use fixinc.math.

and its merge with egcs:

revision 1.75
date: 1998/04/04 17:37:39;  author: law;  state: Exp;  lines: +264 -165
        * Check in merge from gcc2.  See ChangeLog.11 and ChangeLog.12
        for details.

broke fixing header files on sparc-sun-solaris2.5.1.

It introduced the following:

-		fixincludes=fixinc.svr4
+		case $machine in
+		*-*-solaris2.[[0-4]])
+			fixincludes=fixinc.svr4;;
+		*)
+			fixincludes=fixinc.math;;
+		esac

with the result, that /usr/include/curses.h's broken `typedef char bool;'
definition will no longer be fixed.

Was this change intentional? Shouldn't the [[0-4]] include 5 as well?
I haven't looked at 2.6 so far.

manfred



More information about the Gcc-bugs mailing list