+2005-05-25 Stepan Kasal <kasal@ucw.cz>
+
+ * bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
+ * doc/autoconf.texi (Limitations of Builtins): Document this
+ limitation.
+
2005-05-24 Stepan Kasal <kasal@ucw.cz>
* lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out
--warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
autom4te_options="$autom4te_options $option '$2'"
- shift 2 ;;
+ shift; shift ;;
--trace=* | -t?* )
traces="$traces --trace='"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
--trace | -t )
test $# = 1 && eval "$exit_missing_arg"
traces="$traces --trace='"`echo "$2" | sed "s/'/'\\\\\\\\''/g"`"'"
- shift 2 ;;
+ shift; shift ;;
--initialization | -i )
autom4te_options="$autom4te_options --melt"
shift;;
--output | -o )
test $# = 1 && eval "$exit_missing_arg"
outfile=$2
- shift 2 ;;
+ shift; shift ;;
-- ) # Stop option processing
shift; break ;;
shift, but in addition it is not portable: the shell of @acronym{MIPS
RISC/OS} 4.52 refuses to do it.
+Don't use @samp{shift 2} etc.; it was not in the 7th Edition Bourne shell,
+and it is also absent in many pre-POSIX shells.
+
@item @command{source}
@c -------------------