summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-10 01:18:27 +0100
committerinfirit <[email protected]>2014-12-10 01:18:27 +0100
commit031a264df3a9790b34ea40b3efe7f1191ebaf648 (patch)
tree40bae357bc31ec152b15a3f3d52577e0516be525 /configure.ac
parent2c08466a0dbce10eaebb8c4a565497122cb33e5c (diff)
downloadatril-031a264df3a9790b34ea40b3efe7f1191ebaf648.tar.bz2
atril-031a264df3a9790b34ea40b3efe7f1191ebaf648.tar.xz
pdf: Bump poppler requirements to 0.16.0
And remove all unneeded #ifdefs Based on evince commit: e214c8e963fc4224c5ee54b8b9f0d23cb07019d7 From: Carlos Garcia Campos <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 0cd8df6f..d3cde16b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -487,17 +487,10 @@ AC_ARG_ENABLE([pdf],
[enable_pdf=yes])
if test "x$enable_pdf" = "xyes"; then
- POPPLER_REQUIRED=0.14.0
+ POPPLER_REQUIRED=0.16.0
PKG_CHECK_MODULES(POPPLER, poppler-glib >= $POPPLER_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED,enable_pdf=yes,enable_pdf=no)
if test "x$enable_pdf" = "xyes"; then
- atril_save_LIBS=$LIBS
- LIBS="$LIBS $POPPLER_LIBS"
- AC_CHECK_FUNCS(poppler_page_get_text_layout)
- AC_CHECK_FUNCS(poppler_page_get_selected_text)
- AC_CHECK_FUNCS(poppler_page_add_annot)
- AC_CHECK_FUNCS(poppler_document_is_linearized)
- LIBS=$atril_save_LIBS
PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf, enable_cairo_pdf=yes, enable_cairo_pdf=no)
if test x$enable_cairo_pdf = xyes; then
AC_DEFINE([HAVE_CAIRO_PDF], [1], [defined if cairo-pdf is available])