[seed] Do not fail to detect libwebkitgtk-1.0



commit 051a51167d573dce1c5e28289a0ab3d81681a912
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Aug 9 11:26:45 2010 +0800

    Do not fail to detect libwebkitgtk-1.0
    
    The library name got changed from libwebkit-1.0 to libwebkitgtk-1.0, so
    we should support both.

 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 56253a1..ce2d388 100644
--- a/configure.ac
+++ b/configure.ac
@@ -89,8 +89,9 @@ AS_CASE([$with_webkit],
 	[1.0], [
 		save_LIBS=$LIBSma
 		LIBS=`pkg-config --libs webkit-1.0`
-		AC_CHECK_LIB(webkit-1.0, JSContextGroupCreate,,
-					 AC_MSG_ERROR([The installed version of WebKit is too old. Seed requires WebKit SVN revision 35442 or greater.]))
+		AC_CHECK_LIB(webkitgtk-1.0, JSContextGroupCreate,,
+					    AC_CHECK_LIB(webkit-1.0, JSContextGroupCreate,,
+								     AC_MSG_ERROR([The installed version of WebKit is too old. Seed requires WebKit SVN revision 35442 or greater.])))
 		LIBS=$save_LIBS
 		WEBKIT_PC=webkit-1.0
 	],



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