Code

configure.ac: Add test for POPPLER_NEW_GFXFONT.
authorpjrm <pjrm@users.sourceforge.net>
Sat, 19 Jul 2008 14:39:20 +0000 (14:39 +0000)
committerpjrm <pjrm@users.sourceforge.net>
Sat, 19 Jul 2008 14:39:20 +0000 (14:39 +0000)
configure.ac

index 98b8889775a5dff06c3f611eaffb619cc2234946..46f255abbcd22c5ab7472963bdb0ec9f30442e33 100644 (file)
@@ -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 ******************************