From 06b31ee1f90b5e5edb63d711464050134eeabe00 Mon Sep 17 00:00:00 2001 From: pjrm Date: Sat, 19 Jul 2008 14:39:20 +0000 Subject: [PATCH] configure.ac: Add test for POPPLER_NEW_GFXFONT. --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 98b888977..46f255abb 100644 --- a/configure.ac +++ b/configure.ac @@ -551,6 +551,12 @@ fi AC_SUBST(POPPLER_CFLAGS) AC_SUBST(POPPLER_LIBS) +ink_svd_CPPFLAGS="$CPPFLAGS" +CPPFLAGS="$POPPLER_CFLAGS $CPPFLAGS" +AC_MSG_CHECKING([whether libpoppler has new getNextChar]) +AC_EGREP_CPP([Unicode ..u. int .uLen], [#include "GfxFont.h"], AC_DEFINE([POPPLER_NEW_GFXFONT], [], [True iff libpoppler is 0.8.3 or newer.]) AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) +CPPFLAGS="$ink_svd_CPPFLAGS" + dnl ****************************** dnl Inkboard dependency checking dnl ****************************** -- 2.30.2