2004-09-13 Andreas Jaeger <aj@suse.de>
authorroland <roland>
Mon, 13 Sep 2004 19:47:42 +0000 (19:47 +0000)
committerroland <roland>
Mon, 13 Sep 2004 19:47:42 +0000 (19:47 +0000)
* configure.in: Support GCC 4.x.
* configure: Regenerated.

configure
configure.in

index 625d507..a7a2acf 100755 (executable)
--- a/configure
+++ b/configure
@@ -4084,7 +4084,7 @@ echo $ECHO_N "checking version of $CC... $ECHO_C" >&6
   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;;
-    3.[2-9]*)
+    3.[2-9]* | 4.[0-9]* )
        ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
     *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
 
index 24e6cb9..665786e 100644 (file)
@@ -747,7 +747,7 @@ fi
 # These programs are version sensitive.
 AC_CHECK_TOOL_PREFIX
 AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
-  [version \([egcygnustpi-]*[0-9.]*\)], [3.[2-9]*],
+  [version \([egcygnustpi-]*[0-9.]*\)], [3.[2-9]* | 4.[0-9]* ],
   critic_missing="$critic_missing gcc")
 AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
   [GNU Make[^0-9]*\([0-9][0-9.]*\)],