[patch] add --with-java-home configure option
Thomas Fitzsimmons
fitzsim@redhat.com
Mon Apr 4 22:21:00 GMT 2005
Hi,
This patch adds a --with-java-home configure option and sets the
java.home and sun.boot.class.path system properties accordingly. In the
future, we plan to make libgcj's installation layout more SDK-like for
compatibility reasons -- at that point, we can expand the meaning of
this option. For now a separate project, java-gcj-compat, can be
installed to provide compatibility symlinks. The --with-java-home
option will allow us to symlink java directly to gij, where before we
were wrapping gij with a hacky option-massaging shell script.
Tom
2005-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20750
* Makefile.am (AM_CXXFLAGS): Define JAVA_HOME.
* Makefile.in: Regenerate.
* configure.ac: Add --with-java-home option.
* configure: Regenerate.
* external/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* java/lang/natRuntime.cc
(insertSystemProperties): Set java.home and sun.boot.class.path
based on JAVA_HOME
* testsuite/Makefile.in: Regenerate.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgcj-java-home-config.patch
Type: text/x-patch
Size: 2570 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050404/3095e42a/attachment.bin>
More information about the Java-patches
mailing list