[seed] fix #653077 - fix for webkit 1.0 configure (Dominique Leuenberger)



commit 3219a9691653127330d364cda7833454dc6cb7b9
Author: Alan Knowles <alan akbkhome com>
Date:   Tue Nov 29 17:02:26 2011 +0800

    fix #653077 - fix for webkit 1.0 configure (Dominique Leuenberger)

 configure.ac |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index b5e6d1b..1f9bd74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,14 +90,10 @@ AS_CASE([$with_webkit],
 	                AC_CHECK_LIB(javascriptcoregtk-3.0, JSContextGroupCreate,WEBKIT_PC=javascriptcoregtk-3.0)) 
 	],
 	[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(webkitgtk-1.0, JSContextGroupCreate,WEBKIT_PC=webkitgtk-1.0,
 	                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
 	],
 
 	[AC_MSG_ERROR([Invalid argument for --with-webkit])]



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