test_summary (configflags): Compute correctly with both autoconfiscated and Cygnus-style top-level.
* test_summary (configflags): Compute correctly with both autoconfiscated and Cygnus-style top-level. From-SVN: r60991
This commit is contained in:
parent
83282119ef
commit
ce985125f5
@ -1,3 +1,8 @@
|
||||
2003-01-07 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* test_summary (configflags): Compute correctly with both
|
||||
autoconfiscated and Cygnus-style top-level.
|
||||
|
||||
2003-01-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* gcc_update (files_and_dependencies): Add gcc/cp/cfns.h depends
|
||||
|
@ -94,16 +94,19 @@ BEGIN {
|
||||
print "cat <<'"'"'EOF'"'"' |";
|
||||
'${prepend_logs+" system(\"cat $prepend_logs\"); "}'
|
||||
}
|
||||
$1 ~ /\/configure$/ {
|
||||
srcdir = $1;
|
||||
gsub(/\/configure$/, "", srcdir);
|
||||
$0 ~ /^(|# )[^ ]*\/configure / {
|
||||
configflags = $0 " ";
|
||||
gsub(/^# /, "", configflags);
|
||||
srcdir = configflags;
|
||||
gsub(/\/configure .*/, "", srcdir);
|
||||
printf "LAST_UPDATED: ";
|
||||
system("tail -1 " srcdir "/LAST_UPDATED");
|
||||
print "";
|
||||
|
||||
$1 = "configure flags:"; configflags = $0;
|
||||
gsub(/^[^ ]*\/configure /, "configure flags: ", configflags);
|
||||
gsub(/ --with-gcc-version-trigger=[^ ]* /, " ", configflags);
|
||||
gsub(/ --norecursion/, "", configflags)
|
||||
gsub(/ --norecursion /, " ", configflags);
|
||||
gsub(/ $/, "", configflags);
|
||||
}
|
||||
/^Running target / { print ""; print; }
|
||||
/^Target / { if (host != "") next; else host = $3; }
|
||||
|
Loading…
Reference in New Issue
Block a user