build macros and includes
Ray Auge
rayauge@doublebite.com
Mon Oct 4 18:14:00 GMT 2004
On Mon, 2004-10-04 at 13:13, Tom Tromey wrote:
> >>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:
>
> >> Second, due to the nature of java-gnome it often requires the use
> >> of jni.h. I'd like to know if the gcj team provides a m4 macro that
> >> can be used to find it or do we simply always assume that it is
> >> located at /usr/include/libgcj-${gcjversion}/, or is this mostly
> >> system dependant?
>
> Michael> On Debian systems its installed as /usr/include/jni.h and package
> Michael> dependencies make sure that only one version of the libgcj devel
> Michael> packages is installed (e.g. only libgcj 3.4.2). What you should do is
> Michael> to use pkg-config and use the .pc file provided. I think it was first
> Michael> included in 3.4.0. I don't know if you wanna support older versions
> Michael> of GCJ at all.
>
> And, btw, if this is insufficient, feel free to suggest what we ought
> to do.
>
No, pkg-config seems like the right way to go. Unfortunately, I just
tested it on my current system (YellodDog 3.0.1/PPC) and
pkg-config --version libgcj
returns
0.15.0
Which, I don't have to tell you, isn't at all helpful.
> Tom
More information about the Java
mailing list