Re: balsa and libgtkhtml



On 03/20/2004 01:13:34 PM, Jean-Luc Coulon (f5ibh) wrote:
> Hi,
> 
> A success story:

Congratulations--it's so good to hear about one!

I hadn't heard about libgtkhtml-3.1--could you check that the  
attached patch to configure.in works?  It should detect the  
latest version of libgtkhtml-3.x that's installed.

Thanks,

Peter
Index: configure.in
===================================================================
RCS file: /cvs/gnome/balsa/configure.in,v
retrieving revision 1.252
diff -u -r1.252 configure.in
--- configure.in	10 Mar 2004 16:39:44 -0000	1.252
+++ configure.in	22 Mar 2004 01:07:07 -0000
@@ -88,7 +88,13 @@
 AC_MSG_RESULT($use_gtkhtml)
 
 if test x"$use_gtkhtml" = xyes ; then 
-    if $PKG_CONFIG --exists libgtkhtml-3.0 ; then
+    if $PKG_CONFIG --exists libgtkhtml-3.1 ; then
+	PKG_CHECK_MODULES(HTML, [
+	libgtkhtml-3.1
+	])
+        AC_DEFINE(HAVE_GTKHTML3,1,[Defined when GtkHtml-3 can be used.])
+        AC_DEFINE(HAVE_GTKHTML,1,[Defined when GtkHtml can be used.])
+    elif $PKG_CONFIG --exists libgtkhtml-3.0 ; then
 	PKG_CHECK_MODULES(HTML, [
 	libgtkhtml-3.0
 	])



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