From: pjrm Date: Sat, 19 Jul 2008 14:39:20 +0000 (+0000) Subject: configure.ac: Add test for POPPLER_NEW_GFXFONT. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=06b31ee1f90b5e5edb63d711464050134eeabe00;p=inkscape.git configure.ac: Add test for POPPLER_NEW_GFXFONT. --- 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 ******************************