]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid error with Tru64 awk and testsuite lines with many words.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 17 Nov 2007 08:36:17 +0000 (09:36 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 17 Nov 2007 08:36:17 +0000 (09:36 +0100)
* lib/autotest/general.m4 (AT_INIT): In the awk script that
reads the testsuite, set the field separator to an unusual value,
in order to not run over the limit of 199 fields.  Tru64 4.0D awk
even splits the input if $i, i>0, was never accessed in the script.

ChangeLog
lib/autotest/general.m4

index 3cb8e49b53640c18c4fdde54df058a6ec9187ab7..f646066643cd58a63d34bb83bd5d3617c40573a7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2007-11-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       Avoid error with Tru64 awk and testsuite lines with many words.
+       * lib/autotest/general.m4 (AT_INIT): In the awk script that
+       reads the testsuite, set the field separator to an unusual value,
+       in order to not run over the limit of 199 fields.  Tru64 4.0D awk
+       even splits the input if $i, i>0, was never accessed in the script.
+
        Revert 2007-10-17 change.
        * TODO: Multiline args in config files and headers mean something
        different and are not fixed, see
index e50f0f8dab619c0e3306b07a1f506b8719535259..7a6ccfed6ee5e61eab033a0284c2f7d06e4af8ad 100644 (file)
@@ -870,7 +870,9 @@ fi
     _AT_NORMALIZE_TEST_GROUP_NUMBER(at_group_normalized)
     echo "  outfile[[\"$at_group\"]] = \"$at_test_source-$at_group_normalized\""
   done
-  AS_ECHO(['}
+  AS_ECHO(['
+  FS = "\a"
+}
 emit == 0 && /^@%:@AT_START_/ {
   test = substr($ 0, 11);
   if (outfile[[test]]) {