]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoconf.sh (options handling): --v* of --version was shadowing
authorAkim Demaille <akim@epita.fr>
Tue, 15 Feb 2000 09:10:23 +0000 (09:10 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 15 Feb 2000 09:10:23 +0000 (09:10 +0000)
--verbose.

ChangeLog
autoconf.in
autoconf.sh
bin/autoconf.in

index 5eea57b38c03a8acfecd4f1fdec7eef08a385928..1ca33f48630c9c9e287d85f184d866b606bbd232 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-15  Akim Demaille  <akim@epita.fr>
+
+       * autoconf.sh (options handling): --v* of --version was shadowing
+       --verbose.
+
 2000-02-11  Akim Demaille  <akim@epita.fr>
 
        * tests/torture.m4: Nuke the trailing space in defs.
index 792040b94907cfb5edd772e8273047cfde1bfac3..b0d3de15cdb092c68a5ccb2dd1067a6e571f0fdb 100644 (file)
@@ -104,10 +104,11 @@ verbose=:
 # Parse command line
 while test $# -gt 0 ; do
   case "$1" in
-    --version | --v* )
+    --version | --vers* )
        echo "$version" ; exit 0 ;;
     --help | --h* | -h )
        echo "$usage"; exit 0 ;;
+
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -116,6 +117,7 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        localdir="$1"
        shift ;;
+
     --macrodir=* | --m*=* )
        AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -124,12 +126,15 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        AC_MACRODIR="$1"
        shift ;;
+
     --install )
        task=install
        shift;;
-    --verbose )
+
+    --verbose | --verb* )
        verbose=echo
        shift;;
+
     --trace | -t )
        task=trace
        shift
@@ -139,6 +144,7 @@ while test $# -gt 0 ; do
        task=trace
        traces="$traces -t `echo \"$1\" | sed -e 's/^[^=]*=//'`"
        shift ;;
+
     --output | -o )
        shift
        outfile="$1"
@@ -146,6 +152,7 @@ while test $# -gt 0 ; do
     --output=* )
        outfile=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
+
     -- )     # Stop option processing
        shift; break ;;
     - )        # Use stdin as input.
index 792040b94907cfb5edd772e8273047cfde1bfac3..b0d3de15cdb092c68a5ccb2dd1067a6e571f0fdb 100644 (file)
@@ -104,10 +104,11 @@ verbose=:
 # Parse command line
 while test $# -gt 0 ; do
   case "$1" in
-    --version | --v* )
+    --version | --vers* )
        echo "$version" ; exit 0 ;;
     --help | --h* | -h )
        echo "$usage"; exit 0 ;;
+
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -116,6 +117,7 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        localdir="$1"
        shift ;;
+
     --macrodir=* | --m*=* )
        AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -124,12 +126,15 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        AC_MACRODIR="$1"
        shift ;;
+
     --install )
        task=install
        shift;;
-    --verbose )
+
+    --verbose | --verb* )
        verbose=echo
        shift;;
+
     --trace | -t )
        task=trace
        shift
@@ -139,6 +144,7 @@ while test $# -gt 0 ; do
        task=trace
        traces="$traces -t `echo \"$1\" | sed -e 's/^[^=]*=//'`"
        shift ;;
+
     --output | -o )
        shift
        outfile="$1"
@@ -146,6 +152,7 @@ while test $# -gt 0 ; do
     --output=* )
        outfile=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
+
     -- )     # Stop option processing
        shift; break ;;
     - )        # Use stdin as input.
index 792040b94907cfb5edd772e8273047cfde1bfac3..b0d3de15cdb092c68a5ccb2dd1067a6e571f0fdb 100644 (file)
@@ -104,10 +104,11 @@ verbose=:
 # Parse command line
 while test $# -gt 0 ; do
   case "$1" in
-    --version | --v* )
+    --version | --vers* )
        echo "$version" ; exit 0 ;;
     --help | --h* | -h )
        echo "$usage"; exit 0 ;;
+
     --localdir=* | --l*=* )
        localdir=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -116,6 +117,7 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        localdir="$1"
        shift ;;
+
     --macrodir=* | --m*=* )
        AC_MACRODIR=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
@@ -124,12 +126,15 @@ while test $# -gt 0 ; do
        test $# -eq 0 && { echo "$help" >&2; exit 1; }
        AC_MACRODIR="$1"
        shift ;;
+
     --install )
        task=install
        shift;;
-    --verbose )
+
+    --verbose | --verb* )
        verbose=echo
        shift;;
+
     --trace | -t )
        task=trace
        shift
@@ -139,6 +144,7 @@ while test $# -gt 0 ; do
        task=trace
        traces="$traces -t `echo \"$1\" | sed -e 's/^[^=]*=//'`"
        shift ;;
+
     --output | -o )
        shift
        outfile="$1"
@@ -146,6 +152,7 @@ while test $# -gt 0 ; do
     --output=* )
        outfile=`echo "$1" | sed -e 's/^[^=]*=//'`
        shift ;;
+
     -- )     # Stop option processing
        shift; break ;;
     - )        # Use stdin as input.