diff --git a/ChangeLog b/ChangeLog index 8cb673e4..42801b87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2000-11-07 Pavel Roskin + + * 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 * aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77): diff --git a/autoconf.in b/autoconf.in index fe51ab85..24221af9 100644 --- a/autoconf.in +++ b/autoconf.in @@ -133,72 +133,72 @@ while test $# -gt 0 ; do 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 diff --git a/autoconf.sh b/autoconf.sh index fe51ab85..24221af9 100644 --- a/autoconf.sh +++ b/autoconf.sh @@ -133,72 +133,72 @@ while test $# -gt 0 ; do 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 diff --git a/autoheader.in b/autoheader.in index c2ccaa72..9dac38fd 100644 --- a/autoheader.in +++ b/autoheader.in @@ -104,49 +104,49 @@ while test $# -gt 0 ; do 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 diff --git a/autoheader.sh b/autoheader.sh index c2ccaa72..9dac38fd 100644 --- a/autoheader.sh +++ b/autoheader.sh @@ -104,49 +104,49 @@ while test $# -gt 0 ; do 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 diff --git a/autoreconf.in b/autoreconf.in index 18a62d66..44977b01 100644 --- a/autoreconf.in +++ b/autoreconf.in @@ -130,60 +130,60 @@ while test $# -gt 0; do 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. diff --git a/autoreconf.sh b/autoreconf.sh index 18a62d66..44977b01 100644 --- a/autoreconf.sh +++ b/autoreconf.sh @@ -130,60 +130,60 @@ while test $# -gt 0; do 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. diff --git a/bin/autoconf.in b/bin/autoconf.in index fe51ab85..24221af9 100644 --- a/bin/autoconf.in +++ b/bin/autoconf.in @@ -133,72 +133,72 @@ while test $# -gt 0 ; do 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 diff --git a/bin/autoheader.in b/bin/autoheader.in index c2ccaa72..9dac38fd 100644 --- a/bin/autoheader.in +++ b/bin/autoheader.in @@ -104,49 +104,49 @@ while test $# -gt 0 ; do 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 diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 18a62d66..44977b01 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -130,60 +130,60 @@ while test $# -gt 0; do 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. diff --git a/bin/ifnames.in b/bin/ifnames.in index 4f16d1f8..3099566e 100644 --- a/bin/ifnames.in +++ b/bin/ifnames.in @@ -52,9 +52,9 @@ Try \`$me --help' for more information." 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 ;; diff --git a/ifnames.in b/ifnames.in index 4f16d1f8..3099566e 100644 --- a/ifnames.in +++ b/ifnames.in @@ -52,9 +52,9 @@ Try \`$me --help' for more information." 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 ;; diff --git a/ifnames.sh b/ifnames.sh index 4f16d1f8..3099566e 100644 --- a/ifnames.sh +++ b/ifnames.sh @@ -52,9 +52,9 @@ Try \`$me --help' for more information." 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 ;;