summaryrefslogtreecommitdiff
path: root/tests/c.at
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-08-25 16:54:42 -0600
committerEric Blake <eblake@redhat.com>2010-08-25 17:22:18 -0600
commitcb27df430d86d5a16bc1f210d36e29400369dbc2 (patch)
tree0ea6a45df9ee624d5e04d88bbb7f9061b0e96727 /tests/c.at
parente0ac12089ea4c934029baf77741e659f0bebd653 (diff)
downloadautoconf-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 'tests/c.at')
-rw-r--r--tests/c.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/c.at b/tests/c.at
index 8e772336..0e09798a 100644
--- a/tests/c.at
+++ b/tests/c.at
@@ -368,7 +368,7 @@ int main ()
}
]])
-: ${MAKE=make}
+: "${MAKE=make}"
AT_CHECK([env ACLOCAL=true autoreconf -vi], [], [ignore], [ignore])
AT_CHECK([./configure $configure_options], [], [ignore], [ignore])
AT_CHECK([$MAKE], [], [ignore], [ignore])
@@ -411,7 +411,7 @@ AT_DATA([foo.cpp],
}
]])
-: ${MAKE=make}
+: "${MAKE=make}"
AT_CHECK([env ACLOCAL=true autoreconf -vi], [], [ignore], [ignore])
AT_CHECK([./configure $configure_options], [], [ignore], [ignore])
AT_CHECK([$MAKE], [], [ignore], [ignore])