seed r715 - trunk



Author: hortont
Date: Tue Jan 13 04:45:39 2009
New Revision: 715
URL: http://svn.gnome.org/viewvc/seed?rev=715&view=rev

Log:
Check for JSContextGroupCreate, and warn on too-old WebKit revisions.


Modified:
   trunk/config.h.in
   trunk/configure.ac

Modified: trunk/config.h.in
==============================================================================
--- trunk/config.h.in	(original)
+++ trunk/config.h.in	Tue Jan 13 04:45:39 2009
@@ -24,6 +24,9 @@
 /* Define if your <locale.h> file defines LC_MESSAGES. */
 #undef HAVE_LC_MESSAGES
 
+/* Define to 1 if you have the `webkit-1.0' library (-lwebkit-1.0). */
+#undef HAVE_LIBWEBKIT_1_0
+
 /* Define to 1 if you have the <locale.h> header file. */
 #undef HAVE_LOCALE_H
 

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Jan 13 04:45:39 2009
@@ -60,10 +60,13 @@
   AC_SUBST(FFI_CFLAGS)
 fi
 
+dnl =======================WebKit ContextGroup=================================
+AC_CHECK_LIB(webkit-1.0, JSContextGroupCreate, , AC_MSG_ERROR([Your copy of WebKit is too old.]))
+
 dnl ========================readline module====================================
 AC_TRY_CPP([#include <readline/readline.h>],
-					 have_readline_h=yes,
-					 have_readline_h=no)
+			have_readline_h=yes,
+			have_readline_h=no)
 AM_CONDITIONAL(BUILD_READLINE_MODULE, test "x$have_readline_h" = "xyes")
 AC_SUBST(BUILD_READLINE_MODULE)
 



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