2002-08-21 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 22 Aug 2002 00:09:34 +0000 (00:09 +0000)
committerroland <roland>
Thu, 22 Aug 2002 00:09:34 +0000 (00:09 +0000)
* configure.in: Make GCC version check require 3.[2-9]* and no others.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.

configure
configure.in

index 830627b..affce4f 100755 (executable)
--- a/configure
+++ b/configure
@@ -1470,7 +1470,7 @@ echo "configure:1470: checking version of $CC" >&5
   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]*|3.[0-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*)
+    3.[2-9]*)
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
 
@@ -1478,7 +1478,7 @@ echo "configure:1470: checking version of $CC" >&5
   echo "$ac_t""$ac_prog_version" 1>&6
 fi
 if test $ac_verc_fail = yes; then
-  critic_missing=gcc
+  critic_missing="$critic_missing gcc"
 fi
 
 for ac_prog in gnumake gmake make
index cf4927c..72e1557 100644 (file)
@@ -578,9 +578,8 @@ fi
 # These programs are version sensitive.
 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]*|3.[0-9]*|cygnus-2.9[1-9]*|gcc-2.9[5-9]|gcc-2.1[0-9][0-9]|sgicc-*],
-  critic_missing=gcc)
+  [version \([egcygnustpi-]*[0-9.]*\)], [3.[2-9]*],
+  critic_missing="$critic_missing gcc")
 AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
   [3.79* | 3.[89]*], critic_missing="$critic_missing make")