summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-07-19 14:39:20 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-07-19 14:39:20 +0000
commit56133795727ccf4bc80973153a7c8e703876d101 (patch)
tree6dfa1a2083aac6f0e9df3cf62d3270a3aa82856a
parentSmall change to cubic_bbox to skip A LOT of unnecessary computation when the ... (diff)
downloadinkscape-56133795727ccf4bc80973153a7c8e703876d101.tar.gz
inkscape-56133795727ccf4bc80973153a7c8e703876d101.zip
configure.ac: Add test for POPPLER_NEW_GFXFONT.
(bzr r6364)
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
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 ******************************