]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
config.status: do not quote $SHELL when rerunning configure.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 26 Feb 2011 07:19:36 +0000 (08:19 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 27 Feb 2011 06:02:49 +0000 (07:02 +0100)
* 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 <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autoconf/status.m4

index 00c13f022f5546f0c1c8fabaf6fabe17f5199bb7..bf72bd145ef3e677c97814839c0735f411122d47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-02-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       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  <iant@google.com>
 
        * lib/autoconf/go.m4: New file.
index a1a857b1b87b50f5e826ea073488a1478f185d43..46a034146b02eb8782c139d9e2f336501e1b54dc 100644 (file)
@@ -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'