Changeset 307 for trunk/configure.ac

Show
Ignore:
Timestamp:
04/11/08 10:08:07 (6 months ago)
Author:
jordi
Message:

Based on patches sent by Rafał Mużyło and zhou sf, I've added code to be able to build ePDFView with poppler 0.8.0 due a change in the API: poppler_page_get_selection_region() returns the a Glist wherein 0.6.* it returns a GdkRegion?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r287 r307  
    4949    AC_DEFINE([HAVE_POPPLER_0_6_0], [1], [Define to 1 if you have Poppler version 0.6.0 or higher.]) 
    5050fi 
     51PKG_CHECK_EXISTS([poppler-glib >= 0.8], [have_poppler_080=yes]) 
     52if test "x$have_poppler_080" = "xyes"; then 
     53    AC_DEFINE([HAVE_POPPLER_0_8_0], [1], [Define to 1 if you have Poppler version 0.8.0 or higher.]) 
     54fi 
    5155 
    5256EPDFVIEW_PATH_CUPS([CUPS], [have_cups=yes])