classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure failure


From: Mark Wielaard
Subject: Re: configure failure
Date: Mon, 07 Nov 2005 11:15:33 +0100

Hi Archie,

On Thu, 2005-11-03 at 11:41 -0600, Archie Cobbs wrote:
> --disable-gtk-peer does workaround the problem. But FYI this same
> system was able to configure classpath-0.17 without that flag.
> Therefore something changed. I guess 0.17 didn't require freetype?

Surprising. 0.17 did require freetype, but the configure check was
slightly wrong. In 0.18 we correctly check for it. But apparently we
never actually access it directly anyway. gtk+ seems to take care of it
for us. Could you try the attached patch and do
  make distclean && ./autogen.sh && ./configure --enable-Werror
and try if you can get any gui program working.

Thanks,

Mark
Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.117
diff -u -r1.117 configure.ac
--- configure.ac        4 Nov 2005 21:06:57 -0000       1.117
+++ configure.ac        7 Nov 2005 10:14:04 -0000
@@ -353,7 +353,6 @@
     fi
 
     PKG_CHECK_MODULES(PANGOFT2, pangoft2)
-    PKG_CHECK_MODULES(FREETYPE2, freetype2)
   
     AC_SUBST(GTK_CFLAGS)
     AC_SUBST(GTK_LIBS)
@@ -361,8 +360,6 @@
     AC_SUBST(CAIRO_CFLAGS)
     AC_SUBST(PANGOFT2_LIBS)
     AC_SUBST(PANGOFT2_CFLAGS)
-    AC_SUBST(FREETYPE2_LIBS)
-    AC_SUBST(FREETYPE2_CFLAGS)
   fi
 
   dnl Check for AWT related Qt4
Index: native/jni/gtk-peer/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/gtk-peer/Makefile.am,v
retrieving revision 1.31
diff -u -r1.31 Makefile.am
--- native/jni/gtk-peer/Makefile.am     23 Oct 2005 16:59:07 -0000      1.31
+++ native/jni/gtk-peer/Makefile.am     7 Nov 2005 10:14:04 -0000
@@ -55,11 +55,11 @@
                       $(top_builddir)/native/jni/classpath/jcl.lo
 
 AM_LDFLAGS = @CLASSPATH_MODULE@ @GTK_LIBS@ @CAIRO_LIBS@ @PANGOFT2_LIBS@ \
-             @FREETYPE2_LIBS@ @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11 -lXtst
+             @X_PRE_LIBS@ @X_LIBS@ @X_EXTRA_LIBS@ -lX11 -lXtst
 AM_CPPFLAGS = @CLASSPATH_INCLUDES@
 
 # Just the WARNING_CFLAGS. We cannot use the strict flags since the gtk
 # headers contain broken prototypes (by design, see gtkitemfactory.h).
 AM_CFLAGS = @WARNING_CFLAGS@ @ERROR_CFLAGS@ \
-            @GTK_CFLAGS@ @CAIRO_CFLAGS@ @PANGOFT2_CFLAGS@ @FREETYPE2_CFLAGS@ \
+            @GTK_CFLAGS@ @CAIRO_CFLAGS@ @PANGOFT2_CFLAGS@ \
             @X_CFLAGS@

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]