[patch] add --with-java-home configure option
Thomas Fitzsimmons
fitzsim@redhat.com
Tue Apr 5 01:28:00 GMT 2005
On Mon, 2005-04-04 at 19:11 -0400, Bryce McKinlay wrote:
> Thomas Fitzsimmons wrote:
>
> >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.
> >
> >
>
> --with-java-home needs to be documented in install.texi
>
OK, see new patch.
> It would be better to use something like "#ifdef JAVA_HOME" here rather
> than a runtime comparison.
>
Good point. Here's an updated patch. OK for mainline and gcc-4_0-
branch?
Tom
2005-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* doc/install.texi (Configuration): Document --with-java-home.
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.
* libjava/include/config.h.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-config2.patch
Type: text/x-patch
Size: 3648 bytes
Desc:
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050405/e9d67c9c/attachment.bin>
More information about the Java-patches
mailing list