From 8bbd92e0055995a98e17682a9be103dea0a2325c Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 24 Jul 2000 04:34:08 +0000 Subject: [PATCH] * configure.in: Use the same cache file for all target libs. * config-ml.in: But different cache files per multilib variant. --- ChangeLog | 5 +++++ config-ml.in | 2 +- configure.in | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0e57d7fbefe..7e5559ecf4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-07-24 Alexandre Oliva + + * 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 * configure (topsrcdir): Don't use dirname. diff --git a/config-ml.in b/config-ml.in index 60b1d2c1f94..e5ca10ec1db 100644 --- a/config-ml.in +++ b/config-ml.in @@ -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} diff --git a/configure.in b/configure.in index f371c105e9f..56c5d7b5daf 100644 --- a/configure.in +++ b/configure.in @@ -1213,7 +1213,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}%" \ -- 2.30.2