From f3b625e5477acf451dda02d6577bcf3ef0b3b83d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Tue, 7 Jun 2016 16:25:45 +0900 Subject: [PATCH] pdf: Fix build with poppler >= 0.40 This disables PDF load if poppler >= 0.40 (current is 0.42 on my machine). Those image loaders definitely should be explicitely enabled or disabled, not enabled based on the system. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c411a836ba..9416b5f1d4 100644 --- a/configure.ac +++ b/configure.ac @@ -2880,7 +2880,7 @@ if test "x${want_poppler}" = "xyes"; then fi if test "x${have_poppler}" = "xno" ; then - PKG_CHECK_EXISTS([poppler >= 0.31], + PKG_CHECK_EXISTS([poppler >= 0.31 poppler < 0.40], [ poppler_pc="poppler >= 0.31" AC_DEFINE(HAVE_POPPLER_031, 1, [Have poppler 0.31])