summaryrefslogtreecommitdiffstats
path: root/aclocal/target.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-19 00:31:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-19 00:31:31 +0000
commit824bf2e454bca0f3d444b587b2453cd33cce7114 (patch)
tree26d3672ce448d07ea9a388739879ef44024932c6 /aclocal/target.m4
parent2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-824bf2e454bca0f3d444b587b2453cd33cce7114.tar.bz2
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/target.m4: Apply RTEMS_CONFIGURE_ARGS_QUOTE (Part of fix to PR 312).
Diffstat (limited to 'aclocal/target.m4')
-rw-r--r--aclocal/target.m428
1 files changed, 5 insertions, 23 deletions
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