summaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-02 06:25:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-02 06:25:28 +0000
commit051fcc7abe39ba3e5d9ed8175c77c0541c90acf2 (patch)
treee24bc0357a5e6c7a6db6ae21153ef8853bdd3ea6 /config-ml.in
parent5fe830e4fe7e59c595fac7082edb4954e17a7688 (diff)
downloadbinutils-gdb-051fcc7abe39ba3e5d9ed8175c77c0541c90acf2.tar.gz
2003-10-01 Phil Edwards <pme@gcc.gnu.org>
* config-ml.in: Use ac_configure_args directly instead of ml_arguments. Only set ml_norecursion if --no[-]recursion is actually seen. 2003-10-01 Eric Botcazou <ebotcazou@libertysurf.fr> * config-ml.in: Propagate INSTALL variables.
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/config-ml.in b/config-ml.in
index 865275ce3d8..06752b7a67d 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -101,13 +101,12 @@
Makefile=${ac_file-Makefile}
ml_config_shell=${CONFIG_SHELL-/bin/sh}
-ml_arguments="${ac_configure_args}"
ml_realsrcdir=${srcdir}
# Scan all the arguments and set all the ones we need.
ml_verbose=--verbose
-for option in ${ml_arguments}
+for option in ${ac_configure_args}
do
case $option in
--*) ;;
@@ -133,7 +132,7 @@ do
enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
eval $enableopt="$optarg"
;;
- --norecursion | --no*)
+ --norecursion | --no-recursion)
ml_norecursion=yes
;;
--silent | --sil* | --quiet | --q*)
@@ -555,6 +554,10 @@ multi-do:
LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
LDFLAGS="$(LDFLAGS) $${flags}" \
DESTDIR="$(DESTDIR)" \
+ INSTALL="$(INSTALL)" \
+ INSTALL_DATA="$(INSTALL_DATA)" \
+ INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
+ INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \
$(DO)); then \
true; \
else \
@@ -856,7 +859,7 @@ if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
--with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \
- ${ml_arguments} ${ml_srcdiroption} ; then
+ ${ac_configure_args} ${ml_srcdiroption} ; then
true
else
exit 1