From e426bfaf784a1350cb76ee96655003310a4a42e2 Mon Sep 17 00:00:00 2001 From: Monsta Date: Fri, 10 Jul 2015 12:05:25 +0300 Subject: gtk3 build: use webkit2gtk-4.0 if 3.0 isn't available "thanks" to debian guys for removing 3.0 from testing repo --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index c07c6772..aa3ae9af 100644 --- a/configure.ac +++ b/configure.ac @@ -704,6 +704,11 @@ if test "x$enable_epub" = "xyes"; then 3.0) PKG_CHECK_MODULES(EPUB, webkit2gtk-$WEBKIT_API_VERSION >= $WEBKIT_REQUIRED \ libxml-2.0 >= $LIBXML_REQUIRED zlib,enable_epub=yes,enable_epub=no) + if test "x$enable_epub" = "xno"; then + WEBKIT_API_VERSION=4.0 + PKG_CHECK_MODULES(EPUB, webkit2gtk-$WEBKIT_API_VERSION >= $WEBKIT_REQUIRED \ + libxml-2.0 >= $LIBXML_REQUIRED zlib,enable_epub=yes,enable_epub=no) + fi ;; esac -- cgit v1.2.1