This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: PATCH/RFC: --enable-java-awt=gtk (was: Building the GTK peers...)
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: Laurent Bardet <l dot bardet at magic dot fr>, java-patches at gcc dot gnu dot org
- Date: 15 Aug 2002 10:00:43 -0600
- Subject: Re: PATCH/RFC: --enable-java-awt=gtk (was: Building the GTK peers...)
- References: <3D486446.C014A738@magic.fr><3D48B3DE.1090701@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Bryce> I'm not entirely sure myself, but I think basically "aclocal"
Bryce> should be able to find the AM_PATH_GTK macro which GTK will
Bryce> install into your autoconf path somewhere into libjava's
Bryce> aclocal.m4.
True, but this means that anybody who wants to re-run auto* for libgcj
will need to have the right version of Gtk installed. I think it is a
bit better for us to check in the macro directly somewhere, so that
this requirement is lifted.
Bryce> I think the way is simply to add `gtk-config --libs` to the link
Bryce> command, and also `gtk-config --cflags` to the compiler command for
Bryce> the .cc files.
With Gtk 2 I believe you use pkg-config instead.
Tom