configure.in: Use the same cache file for all target libs.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 24 Jul 2000 04:29:33 +0000 (04:29 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 24 Jul 2000 04:29:33 +0000 (04:29 +0000)
* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

From-SVN: r35219

ChangeLog
config-ml.in
configure.in

index d0f664a00dc34a594886c9fd5fc9d4e934d4a30e..124aff4a866be4ef75953af106dfcc57cbc8d8aa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure.in: Use the same cache file for all target libs.
+       * config-ml.in: But different cache files per multilib variant.
+
 2000-07-23  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
        * configure (topsrcdir): Don't use dirname.
index 60b1d2c1f949430035a4d879ee930148d95b531a..e5ca10ec1db1a5c1cfc4e0b0c22a5f88804d7342 100644 (file)
@@ -742,7 +742,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
     cd ${ml_dir}/${ml_libdir}
 
     if [ -f ${ml_newsrcdir}/configure ]; then
-      ml_recprog=${ml_newsrcdir}/configure
+      ml_recprog="${ml_newsrcdir}/configure --cache-file=../config.cache"
     fi
 
     # find compiler flag corresponding to ${ml_dir}
index e4ed2b23ab064bf9f41aaa4cc0c534447e939175..44d734031f3685994c23b19a286a6c38f388a53a 100644 (file)
@@ -1216,7 +1216,7 @@ else
   gxx_include_dir=${gxx_include_dir}
 fi
 
-targargs="--host=${target_alias} --build=${build_alias} ${targargs}"
+targargs="--cache-file=../config.cache --host=${target_alias} --build=${build_alias} ${targargs}"
 sed -e "s:^TARGET_CONFIGDIRS[  ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
     -e "s%^CONFIG_ARGUMENTS[   ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
     -e "s%^TARGET_SUBDIR[      ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \