]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoconf.sh (options handling::-W*): Strip two leading chars, not
authorAkim Demaille <akim@epita.fr>
Fri, 28 Apr 2000 09:07:21 +0000 (09:07 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 28 Apr 2000 09:07:21 +0000 (09:07 +0000)
just one.

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

index e34602d6d944524afe08b0d001448a4f07eec81a..79e1531737c63b45b28c71e46c24b32281ec230e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-28  Akim Demaille  <akim@epita.fr>
+
+       * autoconf.sh (options handling::-W*): Strip two leading chars, not
+       just one.
+
 2000-04-20  Dave Love  <fx@gnu.org>
 
        * acspecific.m4 (AC_FUNC_MKTIME): Use AC_SUBST.
index 1ac4240982748113ccb35f10dc67baddbe96221b..d5e296e331a8e1f0d0c9045855db726cab15f314 100644 (file)
@@ -188,7 +188,7 @@ while test $# -gt 0 ; do
        warnings="$warnings "`echo "$1" | sed -e 's/^[^=]*=//;s/,/ /g'`
        shift ;;
     -W* ) # People are used to -Wall, -Werror etc.
-       warnings="$warnings "`echo "$1" | sed -e 's/^.//;s/,/ /g'`
+       warnings="$warnings "`echo "$1" | sed -e 's/^-W//;s/,/ /g'`
        shift ;;
 
     -- )     # Stop option processing
index 1ac4240982748113ccb35f10dc67baddbe96221b..d5e296e331a8e1f0d0c9045855db726cab15f314 100644 (file)
@@ -188,7 +188,7 @@ while test $# -gt 0 ; do
        warnings="$warnings "`echo "$1" | sed -e 's/^[^=]*=//;s/,/ /g'`
        shift ;;
     -W* ) # People are used to -Wall, -Werror etc.
-       warnings="$warnings "`echo "$1" | sed -e 's/^.//;s/,/ /g'`
+       warnings="$warnings "`echo "$1" | sed -e 's/^-W//;s/,/ /g'`
        shift ;;
 
     -- )     # Stop option processing
index 1ac4240982748113ccb35f10dc67baddbe96221b..d5e296e331a8e1f0d0c9045855db726cab15f314 100644 (file)
@@ -188,7 +188,7 @@ while test $# -gt 0 ; do
        warnings="$warnings "`echo "$1" | sed -e 's/^[^=]*=//;s/,/ /g'`
        shift ;;
     -W* ) # People are used to -Wall, -Werror etc.
-       warnings="$warnings "`echo "$1" | sed -e 's/^.//;s/,/ /g'`
+       warnings="$warnings "`echo "$1" | sed -e 's/^-W//;s/,/ /g'`
        shift ;;
 
     -- )     # Stop option processing