[Libreoffice-commits] .: configure.in
René Engelhard
rene at kemper.freedesktop.org
Wed Sep 28 13:43:23 PDT 2011
configure.in | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 0f862a7432737d16056270cf8fbc29478f988f7d
Author: Rene Engelhard <rene at debian.org>
Date: Wed Sep 28 20:40:07 2011 +0000
make configure check for cpp/poppler-version.h
diff --git a/configure.in b/configure.in
index 3224852..d71eb22 100644
--- a/configure.in
+++ b/configure.in
@@ -7034,6 +7034,16 @@ if test "x$enable_ext_pdfimport" != "xno" -a "x$enable_extension_integration" !=
AC_MSG_RESULT([external])
SYSTEM_POPPLER=YES
PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
+ AC_LANG_PUSH([C++])
+ save_CXXFLAGS=$CXXFLAGS
+ save_CPPFLAGS=$CPPFLAGS
+ CXXFLAGS="$CXXFLAGS $POPPLER_CFLAGS"
+ CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
+ AC_CHECK_HEADER([cpp/poppler-version.h], [],
+ [AC_MSG_ERROR([cpp/poppler-version.h not found. Install poppler])], [])
+ CXXFLAGS=$save_CXXFLAGS
+ CPPFLAGS=$save_CPPFLAGS
+ AC_LANG_POP([C++])
else
AC_MSG_RESULT([internal])
SYSTEM_POPPLER=NO
More information about the Libreoffice-commits
mailing list