summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-10 12:05:25 +0300
committerMonsta <[email protected]>2015-07-10 12:05:25 +0300
commite426bfaf784a1350cb76ee96655003310a4a42e2 (patch)
tree311cb96de4fcb6829238b68fda0da304026fa1bc /configure.ac
parent22a3fc12065d0be034d19dfb0c8707695f514914 (diff)
downloadatril-e426bfaf784a1350cb76ee96655003310a4a42e2.tar.bz2
atril-e426bfaf784a1350cb76ee96655003310a4a42e2.tar.xz
gtk3 build: use webkit2gtk-4.0 if 3.0 isn't available
"thanks" to debian guys for removing 3.0 from testing repo
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
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