diff options
author | Monsta <[email protected]> | 2015-07-10 12:05:25 +0300 |
---|---|---|
committer | Monsta <[email protected]> | 2015-07-10 12:05:25 +0300 |
commit | e426bfaf784a1350cb76ee96655003310a4a42e2 (patch) | |
tree | 311cb96de4fcb6829238b68fda0da304026fa1bc | |
parent | 22a3fc12065d0be034d19dfb0c8707695f514914 (diff) | |
download | atril-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
-rw-r--r-- | configure.ac | 5 |
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 |