This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: re-enable xlib peers
>>>>> "Scott" == Scott Gilbertson <scottg@mantatest.com> writes:
Scott> 1. I configured with --enable-java-awt=xlib, but the built
Scott> executable is looking for the GTK toolkit
>> I didn't try to reproduce this one, sorry.
Scott> The toolkit path used to be assumed correctly based on the
Scott> config options, but that's recently broken. I figure it has to
Scott> do with the Classpath import.
I found this one. It is a typo in Classpath's configure. I fixed it
upstream, but I'm also putting the fix in here since the only reason
for this argument at all is libgcj configury.
Tom
Index: ChangeLog.gcj
from Tom Tromey <tromey@redhat.com>
* configure: Rebuilt.
* configure.ac: Fixed typo.
Index: configure
===================================================================
RCS file: /cvs/gcc/gcc/libjava/classpath/configure,v
retrieving revision 1.1
diff -u -r1.1 configure
--- configure 16 Jul 2005 01:11:15 -0000 1.1
+++ configure 23 Aug 2005 13:51:44 -0000
@@ -2047,7 +2047,7 @@
enableval="$enable_default_toolkit"
fi;
-default_toolkit=$enable_default_tookit
+default_toolkit=$enable_default_toolkit
if test "$default_toolkit" = ""; then
default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
fi
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libjava/classpath/configure.ac,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 configure.ac
--- configure.ac 16 Jul 2005 00:30:31 -0000 1.1.1.1
+++ configure.ac 23 Aug 2005 13:51:44 -0000
@@ -74,7 +74,7 @@
AC_ARG_ENABLE(default-toolkit,
AS_HELP_STRING([--enable-default-toolkit],
[fully qualified class name of default AWT toolkit]))
-default_toolkit=$enable_default_tookit
+default_toolkit=$enable_default_toolkit
if test "$default_toolkit" = ""; then
default_toolkit=gnu.java.awt.peer.gtk.GtkToolkit
fi