[cairo-commit] configure.ac

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Mon Sep 15 16:42:10 PDT 2008


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e31462d399dfad3b798efc56020cd9bb54c75dd9
Author: Jeff Muizelaar <jeff at infidigm.net>
Date:   Mon Sep 15 19:31:28 2008 -0400

    Check for poppler_page_render instead of poppler_page_render_to_pixbuf
    
    We now use poppler_page_render for testing. Further, poppler can be built
    without poppler_page_render_to_pixbuf to avoid a dependency on gdk.

diff --git a/configure.ac b/configure.ac
index 001e267..c48a5df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -366,7 +366,7 @@ test_pdf=no
 if test "x$use_pdf" = "xyes"; then
   poppler_DEPENDENCY="poppler-glib >= $POPPLER_VERSION_REQUIRED"
   PKG_CHECK_MODULES(POPPLER, $poppler_DEPENDENCY pango gtk+-2.0,
-		    [CAIRO_CHECK_FUNCS_WITH_FLAGS(poppler_page_render_to_pixbuf, [$POPPLER_CFLAGS], [$POPPLER_LIBS],
+		    [CAIRO_CHECK_FUNCS_WITH_FLAGS(poppler_page_render, [$POPPLER_CFLAGS], [$POPPLER_LIBS],
                     [test_pdf=yes],
 		    [AC_MSG_RESULT(no); test_pdf="no (requires $poppler_DEPENDENCY)"])],
 		    [AC_MSG_RESULT(no); test_pdf="no (requires $poppler_DEPENDENCY)"])


More information about the cairo-commit mailing list