about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-13 19:47:43 +0000
committerRoland McGrath <roland@gnu.org>2004-09-13 19:47:43 +0000
commitacd250cb97f8e1436b597ce5af5994a2ef571a1a (patch)
tree9d6df41c11d4ad9640177d65a0562b7e1ae85e84
parent17b8a52d1ec2a15c99ba9c8cb8ddae8b00886a03 (diff)
downloadglibc-acd250cb97f8e1436b597ce5af5994a2ef571a1a.tar.gz
glibc-acd250cb97f8e1436b597ce5af5994a2ef571a1a.tar.xz
glibc-acd250cb97f8e1436b597ce5af5994a2ef571a1a.zip
2004-09-13 Andreas Jaeger <aj@suse.de>
	* configure.in: Support GCC 4.x.
	* configure: Regenerated.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 625d507715..a7a2acfc1f 100755
--- 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;;
 
diff --git a/configure.in b/configure.in
index 24e6cb948f..665786e182 100644
--- a/configure.in
+++ b/configure.in
@@ -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.]*\)],