]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
authorAkim Demaille <akim@epita.fr>
Tue, 1 Aug 2000 13:59:51 +0000 (13:59 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 1 Aug 2000 13:59:51 +0000 (13:59 +0000)
`IFS=,; echo ,' will give a comma.  Take this into account.

ChangeLog
autoheader.in
autoheader.sh
bin/autoheader.in
man/autoheader.1

index 578c34a0282288d84810619a3b3d2b618f564d91..27fb42b2706f1d442777a2901cdac812f5132efe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-08-01  Akim Demaille  <akim@epita.fr>
+
+       * autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
+       `IFS=,; echo ,' will give a comma.  Take this into account.
+
 2000-08-01  Akim Demaille  <akim@epita.fr>
 
        * aclang.m4 (AC_PROG_CC): Also try to find $target_alias-cc.
index 8e15597dda5dda6955b7f53f8183a793b1812f10..1773dc71e5da4104a342675d616a0135fa8377d4 100644 (file)
@@ -163,11 +163,13 @@ done
 
 # The warnings are the concatenation of 1. application's defaults
 # (here, none), 2. $WARNINGS, $3 command line options, in that order.
+alphabet='abcdefghijklmnopqrstuvwxyz'
+ALPHABET='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 _ac_warnings=
-for warning in `IFS=,; echo $WARNINGS,$warnings | tr 'A-Z' 'a-z'`
+for warning in `IFS=,; echo $WARNINGS,$warnings | tr $ALPHABET $alphabet`
 do
   case $warning in
-  '')   continue;;
+  '' | ,)   continue;;
   no-*) eval warning_`expr x$warning : 'xno-\(.*\)'`=false;;
   *)    eval warning_$warning=:;;
   esac
index 8e15597dda5dda6955b7f53f8183a793b1812f10..1773dc71e5da4104a342675d616a0135fa8377d4 100644 (file)
@@ -163,11 +163,13 @@ done
 
 # The warnings are the concatenation of 1. application's defaults
 # (here, none), 2. $WARNINGS, $3 command line options, in that order.
+alphabet='abcdefghijklmnopqrstuvwxyz'
+ALPHABET='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 _ac_warnings=
-for warning in `IFS=,; echo $WARNINGS,$warnings | tr 'A-Z' 'a-z'`
+for warning in `IFS=,; echo $WARNINGS,$warnings | tr $ALPHABET $alphabet`
 do
   case $warning in
-  '')   continue;;
+  '' | ,)   continue;;
   no-*) eval warning_`expr x$warning : 'xno-\(.*\)'`=false;;
   *)    eval warning_$warning=:;;
   esac
index 8e15597dda5dda6955b7f53f8183a793b1812f10..1773dc71e5da4104a342675d616a0135fa8377d4 100644 (file)
@@ -163,11 +163,13 @@ done
 
 # The warnings are the concatenation of 1. application's defaults
 # (here, none), 2. $WARNINGS, $3 command line options, in that order.
+alphabet='abcdefghijklmnopqrstuvwxyz'
+ALPHABET='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 _ac_warnings=
-for warning in `IFS=,; echo $WARNINGS,$warnings | tr 'A-Z' 'a-z'`
+for warning in `IFS=,; echo $WARNINGS,$warnings | tr $ALPHABET $alphabet`
 do
   case $warning in
-  '')   continue;;
+  '' | ,)   continue;;
   no-*) eval warning_`expr x$warning : 'xno-\(.*\)'`=false;;
   *)    eval warning_$warning=:;;
   esac
index bd27de4a7bfd6f7fa3e4d1f2b555294385fc9d41..cd6a7fcb767014296d08b72582252482b4683876 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.022.
-.TH AUTOHEADER "1" "July 2000" "GNU autoconf 2.14a" FSF
+.TH AUTOHEADER "1" "August 2000" "GNU autoconf 2.14a" FSF
 .SH NAME
 autoheader \- Create a template header for configure
 .SH SYNOPSIS