summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2002-11-14 01:47:12 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2002-11-14 01:47:12 +0000
commit6a31b7c044a2edcc0ca96614756f31dce1be3cc9 (patch)
treed72eccd740668c78319eb890f4f09e534d6749f4 /acinclude.m4
parentaff9de80e51c1123e4da3646b111554b0020dbac (diff)
downloadrtems-6a31b7c044a2edcc0ca96614756f31dce1be3cc9.tar.bz2
2002-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* acinclude.m4: _RTEMS_OUTPUT_SUBDIRS: Move ac_subconfigure_vars to the end of the args passed to sub-configure-scripts. (Reported by Wulf Hofbauer <wh73@cornell.edu>)
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m411
1 files changed, 6 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index cfc7837c0c..c5b4add5b6 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -222,17 +222,18 @@ if test "$no_recursion" != yes; then
ac_sub_cache_file=$ac_top_builddir$cache_file ;;
esac
- AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args \
- --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir])
+ ac_sub_configure_args="$ac_sub_configure_args '--cache-file=$ac_sub_cache_file'"
+ ac_sub_configure_args="$ac_sub_configure_args '--srcdir=$ac_srcdir'"
+
# The eval makes quoting arguments work.
ac_sub_configure_vars=
test -n "[$]CC_FOR_$2" && \
ac_sub_configure_vars="'CC=[$]CC_FOR_$2'"
test -n "[$]CFLAGS_FOR_$2" && \
ac_sub_configure_vars="$ac_sub_configure_vars 'CFLAGS=[$]CFLAGS_FOR_$2'"
- eval $ac_sub_configure_vars \
- $ac_sub_configure $ac_sub_configure_args \
- --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
+
+ AC_MSG_NOTICE([running $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars])
+ eval $ac_sub_configure $ac_sub_configure_args $ac_sub_configure_vars ||
AC_MSG_ERROR([$ac_sub_configure failed for $ac_dir])
fi