Support gcc 4.x in configure

Andreas Jaeger aj@suse.de
Mon Sep 13 19:36:00 GMT 2004


Since GCC has increased the version number, we need to make changes.

Unfortunatly my autoconf version does not work right now.  Could
anybody else commit this and regenerate configure, please?

Andreas

2004-09-13  Andreas Jaeger  <aj@suse.de>

	* configure.in: Support GCC 4.x.


============================================================
Index: configure.in
--- configure.in	8 Sep 2004 06:55:27 -0000	1.424
+++ configure.in	13 Sep 2004 19:29:27 -0000
@@ -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.]*\)],

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20040913/879ba051/attachment.sig>


More information about the Libc-hacker mailing list