This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: build macros and includes
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java at gcc dot gnu dot org, Ray Auge <rayauge at doublebite dot com>,java-gnome-hackers <java-gnome-hackers at lists dot sourceforge dot net>
- Date: 04 Oct 2004 11:13:10 -0600
- Subject: Re: build macros and includes
- References: <1096846963.26303.68.camel@rottylin.doublebite.com><200410040641.41675.konqueror@gmx.de>
- Reply-to: tromey at redhat dot com
>>>>> "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.
Tom