* lib/g++.exp: Support testing already-installed GCC.

From-SVN: r36063
This commit is contained in:
Alexandre Oliva 2000-08-30 18:46:56 +00:00 committed by Alexandre Oliva
parent c7cb8979c3
commit 9953d23bb4
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-08-30 Alexandre Oliva <aoliva@redhat.com>
* lib/g++.exp: Support testing already-installed GCC.
2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* wtr-label-1.c, wtr-suffix-1.c: New tests.

View File

@ -88,7 +88,10 @@ proc g++_include_flags { args } {
} else {
set odir_v3 [lookfor_file ${gccpath} libstdc++-v3]
set sdir_v3 [lookfor_file ${srcdir} libstdc++-v3]
append flags [exec ${odir_v3}/mkcheck 2 ${odir_v3} ${sdir_v3}]
if { ${odir_v3} != "" } {
append flags [exec ${odir_v3}/mkcheck 2 ${odir_v3} ${sdir_v3}]
}
# else we're probably testing an already-installed GCC.
}
return "$flags"