mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-03 10:08:16 +02:00
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.
This commit is contained in:
parent
fb0bf16595
commit
e31462d399
1 changed files with 1 additions and 1 deletions
|
|
@ -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)"])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue