]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
`./config.status -d' is buggy.
authorAkim Demaille <akim@epita.fr>
Tue, 13 Jun 2000 14:56:23 +0000 (14:56 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 13 Jun 2000 14:56:23 +0000 (14:56 +0000)
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
--debug.
* doc/autoconf.texi (Limitations of Builtins): Some about shift.

ChangeLog
acgeneral.m4
doc/autoconf.texi
lib/autoconf/general.m4

index b8666700f643a48903d4f21eae5842d063b7b7a7..d6c4baa8749cee04c9f81a87142313f8147afe18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-06-13  Akim Demaille  <akim@epita.fr>
+
+       `./config.status -d' is buggy.
+
+       * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Remove the `shift' in
+       --debug.
+       * doc/autoconf.texi (Limitations of Builtins): Some about shift.
+
 2000-06-13  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Caching Results): Bigger warning about the
index 167c67e3af7ce2519e9aeb5e0a223674fec6985d..6efb979a50e8c6a6dedfeb9ba01fb8c9df9c27e4 100644 (file)
@@ -3985,7 +3985,7 @@ Try \`$me --help' for more information."; exit 1 ;;
   --help | --hel | -h )
     echo "$ac_cs_usage"; exit 0 ;;
   --debug | --d* | -d )
-    debug=:; shift ;;
+    debug=: ;;
   --file | --fil | --fi | --f )
     shift
     CONFIG_FILES="$CONFIG_FILES $[1]"
index 9b8e80446d11429931a0fba0b2f0ae9646929f14..1dd9d52a459c7fa92a33ac4cb0c83442dced090b 100644 (file)
@@ -4897,6 +4897,12 @@ if cmp -s file file.new; then :; else
 fi
 @end example
 
+@item @command{shift}
+@cindex @command{shift}
+Not only is @command{shift}ing a bad idea when there is nothing left to
+shift, but in addition it is not portable: the shell of @sc{RISC/os}
+4.52 refuses it.
+
 @item @command{test}
 @cindex @command{test}
 The @code{test} program is the way to perform many file and string
index 167c67e3af7ce2519e9aeb5e0a223674fec6985d..6efb979a50e8c6a6dedfeb9ba01fb8c9df9c27e4 100644 (file)
@@ -3985,7 +3985,7 @@ Try \`$me --help' for more information."; exit 1 ;;
   --help | --hel | -h )
     echo "$ac_cs_usage"; exit 0 ;;
   --debug | --d* | -d )
-    debug=:; shift ;;
+    debug=: ;;
   --file | --fil | --fi | --f )
     shift
     CONFIG_FILES="$CONFIG_FILES $[1]"