summaryrefslogtreecommitdiff
path: root/Build/source/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/configure')
-rwxr-xr-xBuild/source/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/Build/source/configure b/Build/source/configure
index 6302531abf5..33ef2c39461 100755
--- a/Build/source/configure
+++ b/Build/source/configure
@@ -20182,11 +20182,12 @@ elif test "x$need_xpdf:$with_system_xpdf" = xyes:yes; then
as_fn_error $? "did not find poppler-0.12 or better" "$LINENO" 5
fi
-if $PKG_CONFIG poppler --atleast-version=0.20; then
- POPPLER_INCLUDES=`$PKG_CONFIG poppler --cflags`
+if $PKG_CONFIG poppler --atleast-version=0.18; then
+ POPPLER_VERSION='-DPOPPLER_VERSION=\"'`$PKG_CONFIG poppler --modversion`'\"'
+ POPPLER_INCLUDES="$POPPLER_VERSION `$PKG_CONFIG poppler --cflags`"
POPPLER_LIBS=`$PKG_CONFIG poppler --libs`
elif test "x$need_poppler:$with_system_poppler" = xyes:yes; then
- as_fn_error $? "did not find poppler-0.20 or better" "$LINENO" 5
+ as_fn_error $? "did not find poppler-0.18 or better" "$LINENO" 5
fi
if $PKG_CONFIG zziplib --atleast-version=0.12; then