]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoconf.sh: Recognize short options followed by arguments
authorPavel Roskin <proski@gnu.org>
Fri, 27 Oct 2000 13:47:54 +0000 (13:47 +0000)
committerPavel Roskin <proski@gnu.org>
Fri, 27 Oct 2000 13:47:54 +0000 (13:47 +0000)
        without separators.
        * autoheader.sh: Likewise.
        * autoreconf.sh: Likewise. Recognize abbreviations for
        "--autoconf-dir" and "--m4dir"
        * autoupdate.sh: Likewise. Recognize abbreviations for
        "--autoconf-dir"

ChangeLog
autoconf.in
autoconf.sh
autoheader.in
autoheader.sh
autoreconf.in
autoreconf.sh
bin/autoconf.in
bin/autoheader.in
bin/autoreconf.in

index 18877461b1dd752da4b3ab0b061aa5a3c949a556..822748d324174ece5f7c3872d095ca918c9a697a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2000-10-27  Pavel Roskin  <proski@gnu.org>
+
+       * autoconf.sh: Recognize short options followed by arguments
+       without separators.
+       * autoheader.sh: Likewise.
+       * autoreconf.sh: Likewise. Recognize abbreviations for
+       "--autoconf-dir" and "--m4dir"
+       * autoupdate.sh: Likewise. Recognize abbreviations for
+       "--autoconf-dir"
+
 2000-10-26  Pavel Roskin  <proski@gnu.org>
 
        * autoconf.sh: Don't show obsolete options on "--help". Report
index c1e2022790bb98aaf7897dc18b0c1f042d5847d1..cb9298bcf8ce3c19a5fe1639d3cab38828e50ea4 100644 (file)
@@ -144,7 +144,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -153,7 +153,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -161,7 +161,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -172,7 +172,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --trace=* | --t*=* )
+    --trace=* | --t*=* | -t?* )
        task=trace
        traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
        shift ;;
@@ -186,7 +186,7 @@ while test $# -gt 0 ; do
        initialization=:
        shift;;
 
-    --output=* | --o*=* )
+    --output=* | --o*=* | -o?* )
        outfile=$optarg
        shift ;;
     --output | --o* | -o )
@@ -195,7 +195,7 @@ while test $# -gt 0 ; do
        outfile=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index c1e2022790bb98aaf7897dc18b0c1f042d5847d1..cb9298bcf8ce3c19a5fe1639d3cab38828e50ea4 100644 (file)
@@ -144,7 +144,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -153,7 +153,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -161,7 +161,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -172,7 +172,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --trace=* | --t*=* )
+    --trace=* | --t*=* | -t?* )
        task=trace
        traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
        shift ;;
@@ -186,7 +186,7 @@ while test $# -gt 0 ; do
        initialization=:
        shift;;
 
-    --output=* | --o*=* )
+    --output=* | --o*=* | -o?* )
        outfile=$optarg
        shift ;;
     --output | --o* | -o )
@@ -195,7 +195,7 @@ while test $# -gt 0 ; do
        outfile=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index 15efe2f2766e44fea5ac793e507d4096a721bf36..c2ccaa72085b9b2412d76dd4a6f406470ca28d4e 100644 (file)
@@ -115,7 +115,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -124,7 +124,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -132,7 +132,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -143,7 +143,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index 15efe2f2766e44fea5ac793e507d4096a721bf36..c2ccaa72085b9b2412d76dd4a6f406470ca28d4e 100644 (file)
@@ -115,7 +115,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -124,7 +124,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -132,7 +132,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -143,7 +143,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index 9d62774c9d9018f4cecdb019b4520baf816b36b5..5d3634d137058a782083e38cd7ee11b47ba48eec 100644 (file)
@@ -141,7 +141,7 @@ while test $# -gt 0; do
     --debug | --d* | -d )
        debug=:; shift ;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -150,15 +150,15 @@ while test $# -gt 0; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=*)
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
-    --autoconf-dir | -A* )
+    --autoconf-dir | --a* | -A )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -169,14 +169,14 @@ while test $# -gt 0; do
        autoconf_dir=$1
        shift ;;
 
-    --m4dir | -M )
+    --m4dir=* | --m4*=* | -M?* )
+       m4dir=$optarg
+       shift ;;
+    --m4dir | --m4* | -M )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        m4dir=$1
        shift ;;
-    --m4dir=* | -M* )
-       m4dir=$optarg
-       shift ;;
 
      --force | --forc* | -f )
        force=:; shift ;;
index 9d62774c9d9018f4cecdb019b4520baf816b36b5..5d3634d137058a782083e38cd7ee11b47ba48eec 100644 (file)
@@ -141,7 +141,7 @@ while test $# -gt 0; do
     --debug | --d* | -d )
        debug=:; shift ;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -150,15 +150,15 @@ while test $# -gt 0; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=*)
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
-    --autoconf-dir | -A* )
+    --autoconf-dir | --a* | -A )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -169,14 +169,14 @@ while test $# -gt 0; do
        autoconf_dir=$1
        shift ;;
 
-    --m4dir | -M )
+    --m4dir=* | --m4*=* | -M?* )
+       m4dir=$optarg
+       shift ;;
+    --m4dir | --m4* | -M )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        m4dir=$1
        shift ;;
-    --m4dir=* | -M* )
-       m4dir=$optarg
-       shift ;;
 
      --force | --forc* | -f )
        force=:; shift ;;
index c1e2022790bb98aaf7897dc18b0c1f042d5847d1..cb9298bcf8ce3c19a5fe1639d3cab38828e50ea4 100644 (file)
@@ -144,7 +144,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -153,7 +153,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -161,7 +161,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -172,7 +172,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --trace=* | --t*=* )
+    --trace=* | --t*=* | -t?* )
        task=trace
        traces="$traces '"`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`"'"
        shift ;;
@@ -186,7 +186,7 @@ while test $# -gt 0 ; do
        initialization=:
        shift;;
 
-    --output=* | --o*=* )
+    --output=* | --o*=* | -o?* )
        outfile=$optarg
        shift ;;
     --output | --o* | -o )
@@ -195,7 +195,7 @@ while test $# -gt 0 ; do
        outfile=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index 15efe2f2766e44fea5ac793e507d4096a721bf36..c2ccaa72085b9b2412d76dd4a6f406470ca28d4e 100644 (file)
@@ -115,7 +115,7 @@ while test $# -gt 0 ; do
        verbose=echo
        shift;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -124,7 +124,7 @@ while test $# -gt 0 ; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=* | --a*=* )
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
     --autoconf-dir | --a* | -A )
@@ -132,7 +132,7 @@ while test $# -gt 0 ; do
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -143,7 +143,7 @@ while test $# -gt 0 ; do
        autoconf_dir=$1
        shift ;;
 
-    --warnings=* | --w*=* )
+    --warnings=* | --w*=* | -W?* )
        warnings=$warnings,$optarg
        shift ;;
     --warnings | --w* | -W )
index 9d62774c9d9018f4cecdb019b4520baf816b36b5..5d3634d137058a782083e38cd7ee11b47ba48eec 100644 (file)
@@ -141,7 +141,7 @@ while test $# -gt 0; do
     --debug | --d* | -d )
        debug=:; shift ;;
 
-    --localdir=* | --l*=* )
+    --localdir=* | --l*=* | -l?* )
        localdir=$optarg
        shift ;;
     --localdir | --l* | -l )
@@ -150,15 +150,15 @@ while test $# -gt 0; do
        localdir=$1
        shift ;;
 
-    --autoconf-dir=*)
+    --autoconf-dir=* | --a*=* | -A?* )
       autoconf_dir=$optarg
        shift ;;
-    --autoconf-dir | -A* )
+    --autoconf-dir | --a* | -A )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        autoconf_dir=$1
        shift ;;
-    --macrodir=* | --m*=* )
+    --macrodir=* | --m*=* | -m?* )
        echo "$me: warning: --macrodir is obsolete, use --autoconf-dir" >&2
        autoconf_dir=$optarg
        shift ;;
@@ -169,14 +169,14 @@ while test $# -gt 0; do
        autoconf_dir=$1
        shift ;;
 
-    --m4dir | -M )
+    --m4dir=* | --m4*=* | -M?* )
+       m4dir=$optarg
+       shift ;;
+    --m4dir | --m4* | -M )
        test $# = 1 && eval "$exit_missing_arg"
        shift
        m4dir=$1
        shift ;;
-    --m4dir=* | -M* )
-       m4dir=$optarg
-       shift ;;
 
      --force | --forc* | -f )
        force=:; shift ;;