[anjal] Make multiple web renderers possible
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Make multiple web renderers possible
- Date: Fri, 17 Apr 2009 04:20:14 -0400 (EDT)
commit 70ccaeebb9b3b1eacdd2fe836de66e1c5020f5c5
Author: Srinivasa Ragavan <sragavan novell com>
Date: Fri Apr 17 13:47:00 2009 +0530
Make multiple web renderers possible
---
configure.ac | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index fe0a6aa..3818d99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,26 @@ AM_PROG_LIBTOOL
-PKG_CHECK_MODULES(ANJAL, [gtk+-2.0 >= 2.8 libglade-2.0 >= 2.6.0 webkit-1.0 glib-2.0 gconf-2.0 libedataserver-1.2 libedataserverui-1.2 libebook-1.2 camel-1.2 evolution-plugin libxml-2.0 sqlite3])
+PKG_CHECK_MODULES(ANJAL, [gtk+-2.0 >= 2.8 libglade-2.0 >= 2.6.0 glib-2.0 gconf-2.0 libedataserver-1.2 libedataserverui-1.2 libebook-1.2 camel-1.2 evolution-plugin libxml-2.0 sqlite3])
+
+
+PKG_CHECK_MODULES(WEBKIT, [webkit-1.0],HAVE_WEBKIT="yes", HAVE_WEBKIT="no")
+if test "x$HAVE_WEBKIT" = "xyes"; then
+ AC_DEFINE(HAVE_WEBKIT, 1, [webkit available])
+ AM_CONDITIONAL(ENABLE_WEBKIT, true)
+else
+ AC_DEFINE(HAVE_MOZILLA, 0, [webkit not available])
+ AM_CONDITIONAL(ENABLE_WEBKIT, false)
+fi
+
+PKG_CHECK_MODULES(MOZILLA, [mozilla-gtkmozembed],HAVE_MOZILLA="yes", HAVE_MOZILLA="no")
+if test "x$HAVE_MOZILLA" = "xyes"; then
+ AC_DEFINE(HAVE_MOZILLA, 1, [mozilla available])
+ AM_CONDITIONAL(ENABLE_MOZILLA, true)
+else
+ AC_DEFINE(HAVE_MOZILLA, 0, [mozilla not available])
+ AM_CONDITIONAL(ENABLE_MOZILLA, false)
+fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]