PATCH: libgcj/20693: javax-imageio.lo failed to build

H. J. Lu hjl@lucon.org
Thu Apr 7 17:34:00 GMT 2005


I believe that the quote was added to work around the same bug as PR
20693, which is a libtool bug and should be fixed by

http://gcc.gnu.org/ml/gcc-patches/2005-03/msg02792.html

After the patch above is applied, this workaround should be removed.
Otherwise, we are passing `\\\$' to gcj.


H.J.
----
2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR libgcj/20693
	* testsuite/lib/libjava.exp (test_libjava_from_javac): Don't
	quote $c_file.

--- libjava/testsuite/lib/libjava.exp.special	2005-03-14 14:31:02.000000000 -0800
+++ libjava/testsuite/lib/libjava.exp	2005-04-06 11:23:34.183087248 -0700
@@ -833,7 +833,7 @@ proc test_libjava_from_javac { options s
 	    # Don't write files which contain $ chars.
 	    regsub -all "\\$" $executable "\^" executable
 	    set x [libjava_prune_warnings \
-		     [libjava_tcompile '$c_file' "$executable" $type $args]]
+		     [libjava_tcompile $c_file "$executable" $type $args]]
 	    lappend removeList $executable
 	    if {$x != ""} {
 		break



More information about the Java-patches mailing list