From 7bd4a3d77008f6c3518aaa75d191f4e8c6cd7502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 13 Dec 2014 13:25:25 +0000 Subject: [PATCH] [GB.PDF] * BUG: Check for the availabilty of private poppler headers. git-svn-id: svn://localhost/gambas/trunk@6729 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.pdf/configure.ac | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gb.pdf/configure.ac b/gb.pdf/configure.ac index 5cb47e569..25b344a9a 100644 --- a/gb.pdf/configure.ac +++ b/gb.pdf/configure.ac @@ -7,9 +7,13 @@ AC_CONFIG_MACRO_DIR([m4]) GB_INIT(gb.pdf) AC_PROG_LIBTOOL -GB_COMPONENT_PKG_CONFIG( +GB_COMPONENT_SEARCH( poppler, POPPLER, gb.pdf, [src], - 'poppler >= 0.5' + 'poppler >= 0.5', + [GB_FIND(PDFDoc.h, `pkg-config --variable=includedir poppler`, poppler)], + [], + [], + [] ) if test "$have_poppler" = "yes"; then