From 697804f48f4217dab145d96175c6cddf560ec614 Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Thu, 16 Apr 2015 10:13:06 +0200 Subject: Make cpp/poppler-version.h header optional MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Older popler (SLE11) does not have this header yet. With the code simply if the header not found define version to oldest possible working candidate and also raise the .pc check to the same. Change-Id: I039c879879188fe2eb90cd119b80a1d6354a6a9c Reviewed-on: https://gerrit.libreoffice.org/15339 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- config_host/config_poppler.h.in | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 config_host/config_poppler.h.in (limited to 'config_host/config_poppler.h.in') diff --git a/config_host/config_poppler.h.in b/config_host/config_poppler.h.in new file mode 100644 index 000000000000..458c49bb1d7e --- /dev/null +++ b/config_host/config_poppler.h.in @@ -0,0 +1,10 @@ +/* +Settings for poppler header file dection +*/ + +#ifndef CONFIG_POPPLER_H +#define CONFIG_POPPLER_H + +#define HAVE_POPPLER_VERSION_H 0 + +#endif -- cgit