* config-ml.in: Pass ${ml_config_env} to configure calls.
authorSteve Ellcey <sje@cup.hp.com>
Sat, 14 Apr 2007 19:48:36 +0000 (19:48 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Sat, 14 Apr 2007 19:48:36 +0000 (19:48 +0000)
From-SVN: r123825

ChangeLog
config-ml.in

index 42abc24ad806b02bebe13d03c4277f377972a9df..9a98c5e4a8637fcc053e0d65847f26a2de4f2ca5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-04-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * config-ml.in: Pass ${ml_config_env} to configure calls.
+
 2007-04-04  Christian Bruel  <christian.bruel@st.com>
 
        * MAINTAINERS (Write After Approval): Add myself.
index 4082fe45d3d70c1aa353c2071c633da574addfda..cc9cf66cebcd207520a699f9b6c79a68beeead01 100644 (file)
@@ -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