+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.
} 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"