[PATCH] (gnome2) check for gtkhtml-3.6 as well

Bill Nottingham notting at redhat.com
Fri Feb 11 15:01:19 EST 2005


It builds, and the gtkhtml test menu item works. gtkhtml-3.6
is what will be in GNOME 2.10, may as well use whatever is available
on the system.

Bill

-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/configure.in,v
retrieving revision 1.359.2.37
diff -u -r1.359.2.37 configure.in
--- configure.in	27 Jan 2005 01:16:25 -0000	1.359.2.37
+++ configure.in	11 Feb 2005 19:55:32 -0000
@@ -896,11 +896,15 @@
     AC_SUBST(GLADE_LIBS)
 
 
-    # check for gtkhtml 3.0 and 3.1
-    PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.1 ,,gtkhtml=0)
+    # check for gtkhtml 3.x
+    PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.6 ,,gtkhtml=0)
     if test $gtkhtml
-     then 
-        PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.0)
+      then
+         PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.1 ,,gtkhtml=0)
+         if test $gtkhtml
+           then 
+              PKG_CHECK_MODULES(GTKHTML, libgtkhtml-3.0)
+	 fi
     fi
     AS_SCRUB_INCLUDE(GTKHTML_CFLAGS)
     AC_SUBST(GTKHTML_CFLAGS)


More information about the gnucash-devel mailing list