summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorTomáš Chvátal <tomas.chvatal@gmail.com>2015-04-16 10:13:06 +0200
committerAndras Timar <andras.timar@collabora.com>2015-05-19 13:24:30 +0200
commit5af3f7985e51fbd65ed070bb56f27bd7347dc02d (patch)
tree121e05bb64d9900d97abb25d89b01d46a1f4296f /config_host
parent970fe67be2f54b5f7aa25615636413e7ae4be3dd (diff)
Make cpp/poppler-version.h header optional
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 <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_poppler.h.in10
1 files changed, 10 insertions, 0 deletions
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