+1998-10-13 Alexandre Oliva <oliva@dcc.unicamp.br>
+
+ * lib/old-dejagnu.exp (old-dejagnu): support `Additional sources:'
+
1998-10-12 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/explicit74.C: New test. Explicit
lappend cflags "additional_flags=$cflagsx"
}
+ set tmp [lindex [grep $prog "Additional sources: .*"] 0]
+ regsub -all "\n\[^\n\]+(\n|$)" $tmp "\n" tmp
+ set tmp [string trim $tmp]
+ if ![string match "" $tmp] then {
+ regsub "^.*Additional.*sources:" $tmp "" tmp
+ regsub -all " " $tmp " [file dirname $prog]/" tmp
+ lappend cflags "additional_flags=$tmp"
+ verbose "Adding sources $tmp"
+ }
+
lappend cflags "compiler=$compiler"
regsub -all "\[./\]" "$name" "-" output;