[seed] fix #653077 - change build to support javascriptcoregtk change
- From: Alan Knowles <alank src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [seed] fix #653077 - change build to support javascriptcoregtk change
 
- Date: Sun,  3 Jul 2011 15:01:23 +0000 (UTC)
 
commit 91ab326855490e1173696d95e153fcdf7e8105e9
Author: Alan Knowles <alan akkbhome com>
Date:   Sun Jul 3 23:01:12 2011 +0800
    fix #653077 - change build to support javascriptcoregtk change
 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3f49878..8f50f0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,14 +86,15 @@ AS_CASE([$with_webkit],
 	[3.0], [
 		WEBKIT_PC=webkitgtk-3.0
 		SEED_GTK_VERSION=-gtk3
-		AC_SUBST(SEED_GTK_VERSION)
+		AC_CHECK_LIB(webkitgtk-3.0, JSContextGroupCreate,,
+	                AC_CHECK_LIB(javascriptcoregtk-3.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-3.0)) 
 	],
 	[1.0], [
 		save_LIBS=$LIBSma
 		LIBS=`pkg-config --libs webkit-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(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]