PATCH/RFC: --enable-java-awt=gtk (was: Building the GTK peers...)

Tom Tromey
Thu Aug 15 09:53:00 GMT 2002

>>>>> "Bryce" == Bryce McKinlay <> 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.


More information about the Java-patches mailing list