summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 21:12:39 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-10 21:12:39 +0000
commit6f120a3808c902d0e845ecd0896bff646b4dc585 (patch)
treef1c63d13428b6ca5ad3a75d4d91835ab10561cbb /contrib
parent42283c76c6898f10b8fde94cb322698ea35d52ce (diff)
downloadgcc-6f120a3808c902d0e845ecd0896bff646b4dc585.tar.gz
* test_summary (configflags): awk portability.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61168 138bc75d-0d04-0410-961f-82ee72b054a4
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 50d3405a81c..0cca22d2d3d 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 377f9e5df0d..a56f581aa58 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;