[parisc-linux-cvs] glibc amodra

Alan Modra alan@linuxcare.com.au
Fri, 16 Mar 2001 15:36:57 +1100 (EST)


On Thu, 15 Mar 2001, Alan Modra wrote:

> Log message:
> Accept gcc v3.0 as a "good" compiler

Should be good until gcc v10.0 :-)

Index: configure
===================================================================
RCS file: /home/cvs/parisc/glibc/configure,v
retrieving revision 1.13
diff -u -p -r1.13 configure
--- configure	2001/03/06 20:08:59	1.13
+++ configure	2001/03/16 03:58:33
@@ -1436,7 +1436,7 @@ echo "configure:1436: checking version o
   ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
   case $ac_prog_version in
     '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
-    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
+    *gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|[3-9]\.*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
 
Index: configure.in
===================================================================
RCS file: /home/cvs/parisc/glibc/configure.in,v
retrieving revision 1.12
diff -u -p -r1.12 configure.in
--- configure.in	2001/01/16 05:22:03	1.12
+++ configure.in	2001/03/16 03:58:36
@@ -551,7 +551,7 @@ fi
 AC_REQUIRE([AC_CHECK_TOOL_PREFIX])dnl
 AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
   [version \([egcygnustpi-]*[0-9.]*\)],
-  [*gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*],
+  [*gcc-2.9[5-9].*|*2.8.[1-9]*|*2.9|*2.9.[0-9]*|2.9[5-9]*|[3-9]\.*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*],
   critic_missing=t)
 AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
   [GNU Make[^0-9]*\([0-9][0-9.]*\)],

Alan
-- 
Linuxcare