summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog9
-rw-r--r--aclocal/target.m428
2 files changed, 14 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog
index 1e5dbd419c..2d117342e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
+ * aclocal/target.m4: Apply RTEMS_CONFIGURE_ARGS_QUOTE (Part of fix
+ to PR 312).
+
2002-11-18 Joel Sherrill <joel@OARcorp.com>
* VERSION: Updated to rtems-ss-20021118.
@@ -13,6 +18,10 @@
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+ * aclocal/target.m4: Use RTEMS_CONFIGURE_ARGS_QUOTE.
+
+2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
+
* acinclude.m4: Use AS_IF instead of if/then/else/endif.
* configure.ac: Ditto.
diff --git a/aclocal/target.m4 b/aclocal/target.m4
index a81eb551ae..e29f17ad2c 100644
--- a/aclocal/target.m4
+++ b/aclocal/target.m4
@@ -20,32 +20,14 @@ if test "$no_recursion" != yes; then
else
target_subdir="."
fi
- # Remove --cache-file and --srcdir arguments so they do not pile up.
- ac_sub_configure_args=
- rtems_prev=
- for rtems_arg in $rtems_configure_args; do
- if test -n "$rtems_prev"; then
- rtems_prev=
- continue
- fi
- case `eval echo $rtems_arg` in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- rtems_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- rtems_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
+ RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args],
+ [
--target*) ;;
--build*) ;;
--host*) ;;
- *_alias* ) ;; # HACK: Workaround to autoconf passing *_alias
- *) ac_sub_configure_args="$ac_sub_configure_args $rtems_arg" ;;
- esac
- done
+ *_alias=* ) ;; # HACK: Workaround to autoconf passing *_alias
+ ],
+ [rtems_configure_args])
for rtems_config_dir in $RTEMS_BUILD_SUBDIRS; do
# Do not complain, so a configure script can configure whichever