aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2003-01-10 21:12:39 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2003-01-10 21:12:39 +0000
commit6787cc15f20c6b0b464de402982702ac13de23fc (patch)
treef1c63d13428b6ca5ad3a75d4d91835ab10561cbb /contrib
parentb2f29cd967bef1b1245e5bd5a82709ae3a2c0f01 (diff)
downloadgcc-6787cc15f20c6b0b464de402982702ac13de23fc.zip
gcc-6787cc15f20c6b0b464de402982702ac13de23fc.tar.gz
gcc-6787cc15f20c6b0b464de402982702ac13de23fc.tar.bz2
* test_summary (configflags): awk portability.
From-SVN: r61168
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog4
-rwxr-xr-xcontrib/test_summary2
2 files changed, 5 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 50d3405..0cca22d 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -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
diff --git a/contrib/test_summary b/contrib/test_summary
index 377f9e5..a56f581 100755
--- a/contrib/test_summary
+++ b/contrib/test_summary
@@ -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;