long options - it's hard to maintain them by hand.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
+2000-11-07 Pavel Roskin <proski@gnu.org>
+
+ * autoconf.sh: Temporarily disable recognizing of abbreviated
+ long options - it's hard to maintain them by hand.
+ * autoheader.sh: Likewise.
+ * autoreconf.sh: Likewise.
+ * autoupdate.sh: Likewise.
+ * ifnames.sh: Likewise.
+
2000-11-07 Akim Demaille <akim@epita.fr>
* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --trace=* | --t*=* | -t?* )
+ --trace=* | -t?* )
task=trace
traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --trace | --t* | -t )
+ --trace | -t )
test $# = 1 && eval "$exit_missing_arg"
task=trace
shift
traces="$traces '"`echo "$1" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --initialization | --i* | -i )
+ --initialization | -i )
initialization=:
shift;;
- --output=* | --o*=* | -o?* )
+ --output=* | -o?* )
outfile=$optarg
shift ;;
- --output | --o* | -o )
+ --output | -o )
test $# = 1 && eval "$exit_missing_arg"
shift
outfile=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --trace=* | --t*=* | -t?* )
+ --trace=* | -t?* )
task=trace
traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --trace | --t* | -t )
+ --trace | -t )
test $# = 1 && eval "$exit_missing_arg"
task=trace
shift
traces="$traces '"`echo "$1" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --initialization | --i* | -i )
+ --initialization | -i )
initialization=:
shift;;
- --output=* | --o*=* | -o?* )
+ --output=* | -o?* )
outfile=$optarg
shift ;;
- --output | --o* | -o )
+ --output | -o )
test $# = 1 && eval "$exit_missing_arg"
shift
outfile=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case "$1" in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --m4dir=* | --m4*=* | -M?* )
+ --m4dir=* | -M?* )
m4dir=$optarg
shift ;;
- --m4dir | --m4* | -M )
+ --m4dir | -M )
test $# = 1 && eval "$exit_missing_arg"
shift
m4dir=$1
shift ;;
- --force | --forc* | -f )
+ --force | -f )
force=:; shift ;;
- --install | --ins* | -i )
+ --install | -i )
install=:; shift ;;
- --symlink | --s* | -s )
+ --symlink | -s )
symlink=:; shift ;;
# Options of Automake.
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case "$1" in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --m4dir=* | --m4*=* | -M?* )
+ --m4dir=* | -M?* )
m4dir=$optarg
shift ;;
- --m4dir | --m4* | -M )
+ --m4dir | -M )
test $# = 1 && eval "$exit_missing_arg"
shift
m4dir=$1
shift ;;
- --force | --forc* | -f )
+ --force | -f )
force=:; shift ;;
- --install | --ins* | -i )
+ --install | -i )
install=:; shift ;;
- --symlink | --s* | -s )
+ --symlink | -s )
symlink=:; shift ;;
# Options of Automake.
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --trace=* | --t*=* | -t?* )
+ --trace=* | -t?* )
task=trace
traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --trace | --t* | -t )
+ --trace | -t )
test $# = 1 && eval "$exit_missing_arg"
task=trace
shift
traces="$traces '"`echo "$1" | sed "s/'/'\\\\\\\\''/g"`"'"
shift ;;
- --initialization | --i* | -i )
+ --initialization | -i )
initialization=:
shift;;
- --output=* | --o*=* | -o?* )
+ --output=* | -o?* )
outfile=$optarg
shift ;;
- --output | --o* | -o )
+ --output | -o )
test $# = 1 && eval "$exit_missing_arg"
shift
outfile=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case $1 in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --warnings=* | --w*=* | -W?* )
+ --warnings=* | -W?* )
warnings=$warnings,$optarg
shift ;;
- --warnings | --w* | -W )
+ --warnings | -W )
test $# = 1 && eval "$exit_missing_arg"
shift
warnings=$warnings,$1
optarg=`expr "x$1" : 'x--[^=]*=\(.*\)' \| \
"x$1" : 'x-.\(.*\)'`
case "$1" in
- --version | --vers* | -V )
+ --version | -V )
echo "$version" ; exit 0 ;;
- --help | --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --verbose | --verb* | -v )
+ --verbose | -v )
verbose=echo
shift;;
- --debug | --d* | -d )
+ --debug | -d )
debug=:; shift ;;
- --localdir=* | --l*=* | -l?* )
+ --localdir=* | -l?* )
localdir=$optarg
shift ;;
- --localdir | --l* | -l )
+ --localdir | -l )
test $# = 1 && eval "$exit_missing_arg"
shift
localdir=$1
shift ;;
- --autoconf-dir=* | --a*=* | -A?* )
+ --autoconf-dir=* | -A?* )
autoconf_dir=$optarg
shift ;;
- --autoconf-dir | --a* | -A )
+ --autoconf-dir | -A )
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --macrodir=* | --m*=* | -m?* )
+ --macrodir=* | -m?* )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
autoconf_dir=$optarg
shift ;;
- --macrodir | --m* | -m )
+ --macrodir | -m )
echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
test $# = 1 && eval "$exit_missing_arg"
shift
autoconf_dir=$1
shift ;;
- --m4dir=* | --m4*=* | -M?* )
+ --m4dir=* | -M?* )
m4dir=$optarg
shift ;;
- --m4dir | --m4* | -M )
+ --m4dir | -M )
test $# = 1 && eval "$exit_missing_arg"
shift
m4dir=$1
shift ;;
- --force | --forc* | -f )
+ --force | -f )
force=:; shift ;;
- --install | --ins* | -i )
+ --install | -i )
install=:; shift ;;
- --symlink | --s* | -s )
+ --symlink | -s )
symlink=:; shift ;;
# Options of Automake.
while test $# -gt 0; do
case "$1" in
- --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --v* | -V )
+ --version | -V )
echo "$version"; exit 0 ;;
--) # Stop option processing.
shift; break ;;
while test $# -gt 0; do
case "$1" in
- --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --v* | -V )
+ --version | -V )
echo "$version"; exit 0 ;;
--) # Stop option processing.
shift; break ;;
while test $# -gt 0; do
case "$1" in
- --h* | -h )
+ --help | -h )
echo "$usage"; exit 0 ;;
- --v* | -V )
+ --version | -V )
echo "$version"; exit 0 ;;
--) # Stop option processing.
shift; break ;;