[patch] Working Java test for admin dir

Stephan Kulow coolo at kde.org
Thu Aug 8 14:53:28 BST 2002


On Thursday 08 August 2002 15:40, Ian Reinhart Geiser wrote:
> Hi this is an older patch that fixes java on Solaris, it belongs in
> kde-common, in the admin directory.  Could this patch be reviewed by a
> Autoconf/Automake guru to make sure its the right way to do things?
>
> As far as I can tell it works on Solaris and dosent effect my SuSE 7.3
> install.  I am not sure about the test for libjvm.so and libhpi.so.  For
> some reason the current tests fail on Solaris if a) --with-java is not
> defined, and b) if you are not the tail on the second test fails with wrong
> args.
>
> Is my test better?  I am more interested in code that works on both Solaris
> and on my PPC, so a better fix is desired.  Also from what I can tell
> ac_java_dir should be set prior to when it is called, but it seems like it
> is not getting set. So --with-java= must be set.  Is this correct?
>
Yes. This is wrong. We wouldn't have to need to check dirs if we require
--with-java. The rest I commited

Greetings, Stephan






More information about the kde-core-devel mailing list