This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[toplevel PATCH] Speed up creation of toplevel Makefile 2x
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: 0 at main dot gmane dot org
- Date: Mon, 26 Apr 2004 14:03:25 +0200
- Subject: [toplevel PATCH] Speed up creation of toplevel Makefile 2x
This one-line trick is already done in Autoconf 2.5x.
Before (the machine is loaded, but the results are consistent):
bonzini@sola12:/var/tmp/bonzini/3.5/gcc/obj$ time ./config.status
creating Makefile
real 0m26.291s
user 0m16.290s
sys 0m0.080s
After:
bonzini@sola12:/var/tmp/bonzini/3.5/gcc/obj$ time ./config.status
creating Makefile
real 0m13.677s
user 0m7.150s
sys 0m0.020s
Ok for mainline?
Paolo
2004-04-26 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Do not attempt to substitute in
lines without a @-sign.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.284
diff -u -r1.284 configure.in
--- configure.in 26 Apr 2004 11:46:42 -0000 1.284
+++ configure.in 26 Apr 2004 12:01:58 -0000
@@ -27,6 +27,7 @@
AC_PROG_INSTALL
sinclude(config/acx.m4)
+extrasub='/@/!b'
### we might need to use some other shell than /bin/sh for running subshells
### If we are on Windows, search for the shell. This will permit people