[balsa] Require webkitgtk version 1.1.14 or newer



commit cc5024f304afb990c5061b3d2fc56fd113cb0320
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Dec 29 14:16:03 2009 -0500

    Require webkitgtk version 1.1.14 or newer

 ChangeLog    |    1 +
 configure.in |    6 +++++-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e81f4c6..de6d26c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-12-29  Peter Bloomfield
 
+	* configure.in: require webkitgtk version 1.1.14 or newer.
 	* libbalsa/html.c (lbh_resource_request_starting_cb),
 	(libbalsa_html_new): use WebKitwebView's
 	"resource-request-starting" signal to handle cid: requests and
diff --git a/configure.in b/configure.in
index 4ec140e..aa26828 100644
--- a/configure.in
+++ b/configure.in
@@ -370,7 +370,11 @@ AC_SUBST(BALSA_DEFS)
 #
 AC_MSG_CHECKING(whether to use WebKit)
 if test x"$use_webkit" != xno ; then
-    AC_MSG_RESULT([yes])
+    if $PKG_CONFIG --atleast-version=1.1.14 webkit-1.0; then
+        AC_MSG_RESULT([yes])
+    else
+        AC_MSG_ERROR([WebKitGTK+ version 1.1.14 or newer is required.])
+    fi
     if test x"$use_threads" = xno ; then
         AC_MSG_ERROR([WebKit cannot be used with threads disabled.])
     fi



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