PR bootstrap/14614:
* Make-lang.in (java.install-common): Only install transformed
From-SVN: r91692
+2004-12-03 Tom Tromey <tromey@redhat.com>
+
+ PR bootstrap/14614:
+ * Make-lang.in (java.install-common): Only install transformed
+ gcjh if gcj-cross exists.
+
2004-12-03 Andrew Haley <aph@redhat.com>
PR java/18812
rm -f $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
$(INSTALL_PROGRAM) $$tool$(exeext) $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
chmod a+x $(DESTDIR)$(bindir)/$$tool_transformed_name$(exeext); \
- if [ $$tool = gcjh ]; then \
+ if [ -f $(GCJ)-cross$(exeext) ]; then \
+ true; \
+ elif [ $$tool = gcjh ]; then \
rm -f $(DESTDIR)$(bindir)/$(GCJH_TARGET_INSTALL_NAME)$(exeext); \
( cd $(DESTDIR)$(bindir) && \
$(LN) $$tool_transformed_name$(exeext) $(GCJH_TARGET_INSTALL_NAME)$(exeext) ); \