[evolution-rss] Auto-disable WebKit support when compiled against evolution 3.21.90+
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] Auto-disable WebKit support when compiled against evolution 3.21.90+
- Date: Wed, 17 Aug 2016 17:16:07 +0000 (UTC)
commit a5b4473b6cc55e016560ce4dcf26c715737da2d5
Author: Milan Crha <mcrha redhat com>
Date: Wed Aug 17 19:12:27 2016 +0200
Auto-disable WebKit support when compiled against evolution 3.21.90+
It's optional and the code uses the mail formatter, not its own web engine,
which seems to be sufficient. Furthermore, evolution-rss uses WebKit1, but
WebKit2 is used in the evolution since 3.21.90 and these two cannot be
used together, thus rather disable WebKit code here.
configure.ac | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 629e663..27640b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -259,6 +259,9 @@ AC_MSG_CHECKING([whether to include Webkit support])
AC_ARG_ENABLE([webkit],
AS_HELP_STRING([--disable-webkit],[Disable Webkit (Apple Upstream Webkit) support (default:
enabled)]),
[],[enable_webkit=yes])
+if test "$evolution_version_int" -ge "32190"; then
+ enable_webkit="no, due to evolution 3.21.90+"
+fi
AC_MSG_RESULT([$enable_webkit])
if test "$enable_webkit" = "yes"; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]