summaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorsje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-14 19:48:36 +0000
committersje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-14 19:48:36 +0000
commit0e80ececb0e220d3f52543945a5d4bcbbf788972 (patch)
tree9d4c588b1d6cd3a10620d1acf60ca6a4c33c9934 /config-ml.in
parent480e5bc3913e7e97b83ee44e2f2cad3d059e3c83 (diff)
downloadgcc-0e80ececb0e220d3f52543945a5d4bcbbf788972.tar.gz
* config-ml.in: Pass ${ml_config_env} to configure calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123825 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config-ml.in')
-rw-r--r--config-ml.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/config-ml.in b/config-ml.in
index 4082fe45d3d..cc9cf66cebc 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -108,6 +108,11 @@ ml_realsrcdir=${srcdir}
ml_verbose=--verbose
for option in ${ac_configure_args}
do
+ # strip single quotes surrounding individual options
+ case $option in
+ \'*\') eval option=$option ;;
+ esac
+
case $option in
--*) ;;
-*) option=-$option ;;
@@ -890,7 +895,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} \
- ${ac_configure_args} ${ml_srcdiroption} ; then
+ ${ac_configure_args} ${ml_config_env} ${ml_srcdiroption} ; then
true
else
exit 1