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.
This commit is contained in:
Jean-Philippe Andre 2016-06-07 16:25:45 +09:00
parent a6fe58364a
commit f3b625e547
1 changed files with 1 additions and 1 deletions

View File

@ -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])