[ecj] gjar is installed, but we don't use it in the build

Tom Tromey tromey@redhat.com
Wed Dec 13 18:30:00 GMT 2006


Andrew> Weirdly, overriding JAR from the command line does not seem to work:
Try the appended.
Andrew> IMO this should be a merge blocker.
I suppose we could look for $(bindir)/gjar and use it if it exists.
This worries me a bit since I can't think of any other place in the
build system where we look at the new install tree for a tool.
Or are you asking for a simpler change, where configure uses 'gjar' if
it exists? That would be completely unobjectionable to me.
Tom
Index: Makefile.am
===================================================================
--- Makefile.am	(revision 119805)
+++ Makefile.am	(working copy)
@@ -1057,7 +1057,8 @@
 	"NM=$(NM)" \
 	"PICFLAG=$(PICFLAG)" \
 	"RANLIB=$(RANLIB)" \
-	"DESTDIR=$(DESTDIR)"
+	"DESTDIR=$(DESTDIR)" \
+	"JAR=$(JAR)"
 
 # Subdir rules rely on $(FLAGS_TO_PASS)
 FLAGS_TO_PASS = $(AM_MAKEFLAGS)


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /