summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorTomáš Chvátal <tomas.chvatal@gmail.com>2015-04-16 10:13:06 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-04-21 13:07:16 +0000
commit697804f48f4217dab145d96175c6cddf560ec614 (patch)
tree38db3524da1e36be721df574e15a859ccb3f2945 /config_host
parentbd969ed90302655d41743e67124aef7101c99763 (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