* test_summary (configflags): awk portability.

From-SVN: r61168
This commit is contained in:
Loren J. Rittle 2003-01-10 21:12:39 +00:00 committed by Loren J. Rittle
parent b2f29cd967
commit 6787cc15f2
2 changed files with 5 additions and 1 deletions

View 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

View File

@ -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;