diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-09-21 17:13:25 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-09-21 17:15:11 +0200 |
commit | 8861df394604fa6dd8c72181a023557d037f7235 (patch) | |
tree | 1093621b6ba8f396f3e799b932f0d5ef7a9e7163 /sdext/source | |
parent | 5ab3360cf7e22ba7188ce6bfed5f2213a18a6f49 (diff) |
build without glib poppler bindings
- there's not configure check for it, only for poppler itself
- and it's not actually used anyway
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 2a35fb7faaae..f24dd9f5380d 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -68,7 +68,11 @@ class PDFDoc; #define POPPLER_CHECK_VERSION(major,minor,micro) (0) typedef GString GooString; #else -#include <glib/poppler-features.h> +#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 |