summaryrefslogtreecommitdiffstats
path: root/config-ml.in
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-07-15 11:59:42 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-07-15 11:59:42 +0000
commit3a032d41ab382e2f95ab1b6b83b484faedda4d0d (patch)
tree3adec5db936f6d93cbad5da13ed3bd9a795af22f /config-ml.in
parent6ad26a95e4716668a474f6b835b4d7cbd419f777 (diff)
downloadrtems-3a032d41ab382e2f95ab1b6b83b484faedda4d0d.tar.bz2
2003-07-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* config-ml.in: Partial sync with gcc-3.4's config-ml.in. Add "autoconf-2.5x unquoting" hack.
Diffstat (limited to '')
-rw-r--r--config-ml.in21
1 files changed, 6 insertions, 15 deletions
diff --git a/config-ml.in b/config-ml.in
index 78b2f4c8d7..fe4d572277 100644
--- a/config-ml.in
+++ b/config-ml.in
@@ -82,21 +82,10 @@
# Note that `host' in this case is GCC's `target'. Target libraries are
# configured for a particular host.
-if [ -n "${ac_configure_args}" ]; then
- Makefile=${ac_file-Makefile}
- ml_config_shell=${CONFIG_SHELL-/bin/sh}
- ml_arguments="${ac_configure_args}"
- ml_realsrcdir=${srcdir}
-else
- Makefile=${Makefile-Makefile}
- ml_config_shell=${config_shell-/bin/sh}
- ml_arguments="${arguments}"
- if [ -n "${subdir}" -a "${subdir}" != "." ] ; then
- ml_realsrcdir=${srcdir}/${subdir}
- else
- ml_realsrcdir=${srcdir}
- fi
-fi
+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.
@@ -104,6 +93,8 @@ ml_verbose=--verbose
for option in ${ml_arguments}
do
case $option in
+# Unquote autoconf >= 2.57 added quotes
+ \'--*\') eval option="$option" ;;
--*) ;;
-*) option=-$option ;;
esac