Commit 059ae32c by Alexandre Oliva Committed by Alexandre Oliva

configure.in: Use the same cache file for all target libs.

* configure.in: Use the same cache file for all target libs.
* config-ml.in: But different cache files per multilib variant.

From-SVN: r35219
parent c030bee9
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> 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* configure (topsrcdir): Don't use dirname. * configure (topsrcdir): Don't use dirname.
......
...@@ -742,7 +742,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then ...@@ -742,7 +742,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
cd ${ml_dir}/${ml_libdir} cd ${ml_dir}/${ml_libdir}
if [ -f ${ml_newsrcdir}/configure ]; then if [ -f ${ml_newsrcdir}/configure ]; then
ml_recprog=${ml_newsrcdir}/configure ml_recprog="${ml_newsrcdir}/configure --cache-file=../config.cache"
fi fi
# find compiler flag corresponding to ${ml_dir} # find compiler flag corresponding to ${ml_dir}
......
...@@ -1216,7 +1216,7 @@ else ...@@ -1216,7 +1216,7 @@ else
gxx_include_dir=${gxx_include_dir} gxx_include_dir=${gxx_include_dir}
fi 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}:" \ sed -e "s:^TARGET_CONFIGDIRS[ ]*=.*$:TARGET_CONFIGDIRS = ${target_configdirs}:" \
-e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \ -e "s%^CONFIG_ARGUMENTS[ ]*=.*$%CONFIG_ARGUMENTS = ${targargs}%" \
-e "s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \ -e "s%^TARGET_SUBDIR[ ]*=.*$%TARGET_SUBDIR = ${target_subdir}%" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment