From: Ralf Wildenhues Date: Sat, 26 Feb 2011 07:19:36 +0000 (+0100) Subject: config.status: do not quote $SHELL when rerunning configure. X-Git-Tag: v2.68b~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e143d9ce7cd79631900bb596e365a1d531aa4e82;p=thirdparty%2Fautoconf.git config.status: do not quote $SHELL when rerunning configure. * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Allow $SHELL to contain more than one word, when rerunning configure, for debugging purposes like CONFIG_SHELL='/bin/sh -x'. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 00c13f02..bf72bd14 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-02-27 Ralf Wildenhues + + config.status: do not quote $SHELL when rerunning configure. + * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Allow + $SHELL to contain more than one word, when rerunning configure, + for debugging purposes like CONFIG_SHELL='/bin/sh -x'. + 2011-02-21 Ian Lance Taylor * lib/autoconf/go.m4: New file. diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index a1a857b1..46a03414 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -1542,7 +1542,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 dnl Check this before opening the log, to avoid a bug on MinGW, dnl which prohibits the recursive instance from truncating an open log. if \$ac_cs_recheck; then - set X '$SHELL' '$[0]' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$[0]' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \AS_ECHO(["running CONFIG_SHELL=$SHELL \$[*]"]) >&AS_MESSAGE_FD CONFIG_SHELL='$SHELL'