[committed] Fix stupid thinko in configure.in/Makefile.tpl

Nathanael Nerode neroden@twcny.rr.com
Mon Jan 5 04:35:00 GMT 2004


	* configure.in: Use ./config.cache, not config.cache
	* configure: Regenerate.
	* Makefile.tpl: Special-casing not needed for GCC any more.
	* Makefile.in: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.265
diff -u -r1.265 configure.in
--- configure.in	5 Jan 2004 00:49:59 -0000	1.265
+++ configure.in	5 Jan 2004 04:32:49 -0000
@@ -1828,7 +1828,7 @@
 
 # Host dirs don't like to share a cache file either, horribly enough.
 # This seems to be due to autoconf 2.5x stupidity.
-host_configargs="--cache-file=config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
+host_configargs="--cache-file=./config.cache --build=${build_alias} --host=${host_alias} --target=${target_alias} ${extra_host_args} ${baseargs}"
 
 target_configargs=${baseargs}
 
@@ -1862,7 +1862,7 @@
 # directory.  I think.
 
 # Pass the appropriate --host, --build, and --cache-file arguments.
-target_configargs="--cache-file=config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
+target_configargs="--cache-file=./config.cache --host=${target_alias} --build=${build_alias} ${target_configargs}"
 
 # provide a proper gxx_include_dir.
 # Note, if you change the default, make sure to fix both here and in
Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.77
diff -u -r1.77 Makefile.tpl
--- Makefile.tpl	3 Jan 2004 18:29:57 -0000	1.77
+++ Makefile.tpl	5 Jan 2004 04:34:29 -0000
@@ -1109,7 +1109,7 @@
 	    libsrcdir="$$s/gcc";; \
 	esac; \
 	$(SHELL) $${libsrcdir}/configure \
-	  $(HOST_CONFIGARGS) $${srcdiroption} --cache-file=config.cache \
+	  $(HOST_CONFIGARGS) $${srcdiroption} \
 	  || exit 1
 
 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html



More information about the Newlib mailing list