[seed] More fixes for bgo#653077: Also correctly identify javascriptcoregtk-1.0



commit a84576e42dbceb102f5cb7fa5b9e3ebce8d7a9c9
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Fri Aug 12 21:27:20 2011 +0200

    More fixes for bgo#653077: Also correctly identify javascriptcoregtk-1.0

 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 1cc6342..7ff9a7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,11 +92,12 @@ AS_CASE([$with_webkit],
 	[1.0], [
 		save_LIBS=$LIBSma
 		LIBS=`pkg-config --libs webkit-1.0`
+		WEBKIT_PC=webkitgtk-1.0
 		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.])))
+	                AC_CHECK_LIB(javascriptcoregtk-1.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-1.0, 
+				AC_CHECK_LIB(webkit-1.0, JSContextGroupCreate,WEBKIT_PC=webkit-1.0,
+					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
 	],
 
 	[AC_MSG_ERROR([Invalid argument for --with-webkit])]



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