* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote

`$0' to protect against spaces.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
`$0', $as_me.
This commit is contained in:
Ralf Wildenhues 2006-03-27 17:42:17 +00:00
parent 9656b1839e
commit ff15ef7a2c
4 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
2006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
`$0' to protect against spaces.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
`$0', $as_me.
2006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* bin/autoscan.in: The value of find_configure_ac should be

View File

@ -1255,7 +1255,7 @@ if \$ac_cs_recheck; then
echo "running CONFIG_SHELL=$SHELL $SHELL $[0] " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&AS_MESSAGE_FD
CONFIG_SHELL=$SHELL
export CONFIG_SHELL
exec $SHELL $[0] $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
exec $SHELL "$[0]" $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
fi
m4_ifdef([_AC_OUTPUT_COMMANDS_INIT],
[#

View File

@ -940,17 +940,17 @@ else
# Summary of failed and skipped tests.
if test $at_fail_count != 0; then
echo "Failed tests:"
$SHELL $[0] $at_fail_list --list
$SHELL "$[0]" $at_fail_list --list
echo
fi
if test $at_skip_count != 0; then
echo "Skipped tests:"
$SHELL $[0] $at_skip_list --list
$SHELL "$[0]" $at_skip_list --list
echo
fi
if test $at_xpass_count != 0; then
echo "Unexpected passes:"
$SHELL $[0] $at_xpass_list --list
$SHELL "$[0]" $at_xpass_list --list
echo
fi
if test $at_fail_count != 0; then

View File

@ -817,13 +817,13 @@ _AS_LINENO_WORKS || {
t loop
s/-\n.*//
' >$as_me.lineno &&
chmod +x $as_me.lineno ||
chmod +x "$as_me.lineno" ||
AS_ERROR([cannot create $as_me.lineno; rerun with a POSIX shell])
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensible to this).
. ./$as_me.lineno
. "./$as_me.lineno"
# Exit status is that of the last command.
exit
}