diff options
author | Eric Blake <eblake@redhat.com> | 2010-08-25 16:54:42 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-08-25 17:22:18 -0600 |
commit | cb27df430d86d5a16bc1f210d36e29400369dbc2 (patch) | |
tree | 0ea6a45df9ee624d5e04d88bbb7f9061b0e96727 /lib/autoconf/general.m4 | |
parent | e0ac12089ea4c934029baf77741e659f0bebd653 (diff) | |
download | autoconf-cb27df430d86d5a16bc1f210d36e29400369dbc2.tar.gz |
docs: mention cost of globbing during variable expansion
* doc/autoconf.texi (Shell Substitutions) <${var=literal}>:
Recommend quoting substitutions that might trigger globbing.
(Limitations of Builtins) <:>: Likewise.
* bin/autoconf.as: Follow our own advice.
* lib/autoconf/functions.m4 (AC_FUNC_SELECT_ARGTYPES): Likewise.
* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Likewise.
* lib/autoconf/status.m4 (AC_OUTPUT): Likewise.
* lib/autotest/general.m4 (_AT_FINISH): Likewise.
* lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise.
* tests/autotest.at (parallel autotest and signal handling):
Likewise.
* tests/c.at (AC_OPENMP and C, AC_OPENMP and C++): Likewise.
* tests/foreign.at (shtool): Likewise.
* tests/fortran.at: Likewise.
* tests/tools.at (autom4te preselections): Likewise.
* tests/torture.at (VPATH): Likewise.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'lib/autoconf/general.m4')
-rw-r--r-- | lib/autoconf/general.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index 99cc3262..c6f39807 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -900,7 +900,7 @@ Try `$[0] --help' for more information]) AC_MSG_WARN([you should use --build, --host, --target]) expr "x$ac_option" : "[.*[^-._$as_cr_alnum]]" >/dev/null && AC_MSG_WARN([invalid host type: $ac_option]) - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac |