parent
aa90c08b08
commit
d282c3ee2a
@ -0,0 +1,38 @@
|
|||||||
|
--- configure.in 2011-11-10 13:22:02.062474990 +0000
|
||||||
|
+++ configure.in 2011-11-10 13:22:35.072472880 +0000
|
||||||
|
@@ -6354,16 +6354,6 @@
|
||||||
|
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
|
||||||
|
--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx 2011-11-10 13:22:11.949473646 +0000
|
||||||
|
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx 2011-11-10 13:23:24.889473889 +0000
|
||||||
|
@@ -64,16 +64,8 @@
|
||||||
|
class GfxPath;
|
||||||
|
class GfxFont;
|
||||||
|
class PDFDoc;
|
||||||
|
-#ifndef SYSTEM_POPPLER
|
||||||
|
#define POPPLER_CHECK_VERSION(major,minor,micro) (0)
|
||||||
|
typedef GString GooString;
|
||||||
|
-#else
|
||||||
|
-#include <cpp/poppler-version.h>
|
||||||
|
-#define POPPLER_CHECK_VERSION(major,minor,micro) \
|
||||||
|
- (POPPLER_VERSION_MAJOR > (major) || \
|
||||||
|
- (POPPLER_VERSION_MAJOR == (major) && POPPLER_VERSION_MINOR > (minor)) || \
|
||||||
|
- (POPPLER_VERSION_MAJOR == (major) && POPPLER_VERSION_MINOR == (minor) && POPPLER_VERSION_MICRO >= (micro)))
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
namespace pdfi
|
||||||
|
{
|
Loading…
Reference in new issue