summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-10-11 04:27:07 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-10-11 04:27:07 +0000
commit59d28b7a1a2177538f88bdbef23ea8f5a6185258 (patch)
tree412e9f333c61361a3fb3315e449cdb72df9a8f0c /acinclude.m4
parentff8676efbe03f5c32a6c0e167e09ec58e017e35e (diff)
downloadrtems-59d28b7a1a2177538f88bdbef23ea8f5a6185258.tar.bz2
2002-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/quoting.m4: New (Implements RTEMS_CONFIGURE_ARGS_QUOTE). * acinclude.m4: Apply RTEMS_CONFIGURE_ARGS_QUOTE.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m434
1 files changed, 6 insertions, 28 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 16218324aa..b82a62cf82 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -167,34 +167,12 @@ _RTEMS_ARG_VAR([CFLAGS_FOR_$2],
if test "$no_recursion" != yes; then
if test -n "${$2_SUBDIRS}"; then
- ac_sub_configure_args=
- ac_prev=
- for ac_arg in $$1args; do
- if test -n "$ac_prev"; then
- ac_prev=
- continue
- fi
- case $ac_arg in
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
- | --c=*)
- ;;
- --config-cache | -C)
- ;;
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- ;;
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- ;;
- *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
- esac
- done
+ RTEMS_CONFIGURE_ARGS_QUOTE([ac_sub_configure_args],[
+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
+ ac_prev=prefix ;;
+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
+ ;;
+ ],[$1args])
# Always prepend --prefix to ensure using the same prefix
# in subdir configurations.