* test_summary (configflags): awk portability.
authorLoren J. Rittle <ljrittle@acm.org>
Fri, 10 Jan 2003 21:12:39 +0000 (21:12 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Fri, 10 Jan 2003 21:12:39 +0000 (21:12 +0000)
From-SVN: r61168

contrib/ChangeLog
contrib/test_summary

index 50d3405a81cc14182f47d128540dbf60cded65e8..0cca22d2d3dae5e75f0945bdf3aa3f290d063b64 100644 (file)
@@ -1,3 +1,7 @@
+2003-01-10  Loren J. Rittle  <ljrittle@acm.org>
+
+       * test_summary (configflags): awk portability.
+
 2003-01-07  Alexandre Oliva  <aoliva@redhat.com>
 
        * test_summary (configflags): Compute correctly with both
index 377f9e5df0dbc1715fe13262a261fd9be4078215..a56f581aa58d9bb48a3db745b09a1f7fd8618803 100755 (executable)
@@ -94,7 +94,7 @@ BEGIN {
   print "cat <<'"'"'EOF'"'"' |";
 '${prepend_logs+"  system(\"cat $prepend_logs\"); "}'
 }
-$0 ~ /^(|# )[^ ]*\/configure / {
+$0 ~ /^[^ ]*\/configure / || $0 ~ /^# [^ ]*\/configure / {
     configflags = $0 " ";
     gsub(/^# /, "", configflags);
     srcdir = configflags;