]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 27 Mar 2006 17:42:17 +0000 (17:42 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 27 Mar 2006 17:42:17 +0000 (17:42 +0000)
`$0' to protect against spaces.
* lib/autotest/general.m4 (AT_INIT): Likewise.
* lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for
`$0', $as_me.

ChangeLog
lib/autoconf/status.m4
lib/autotest/general.m4
lib/m4sugar/m4sh.m4

index af91d850de42ed5ac8dc3f8c4b8d95f35ff66e9c..6eb5563624ce7bb3852df67f23004d14aa82c0e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 3a75fe8bd5c4925586d6365e7e8b620b43e7e936..7d6a98fce2f4f8e7fe3ae78b4f40a0a2b7d7ed83 100644 (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],
 [#
index d71b1882927e7fff0b9f1767e1b8d889170638a5..1eb12d3c0f60585ca71c67e22962ed2190612afb 100644 (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
index 7da99f07a59d956260b0fc412b295b0faaa8fb59..bc3989a6ff5e8d924cff91040bb9ac29492fe230 100644 (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
 }