summaryrefslogtreecommitdiff
path: root/config_host
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2022-01-09 22:36:20 +0100
committerJan-Marek Glogowski <glogow@fbihome.de>2022-01-10 04:50:46 +0100
commitef5e2d8604b976d352b944c007ae71aa33ffc607 (patch)
treec705ba55199fe71e29ec54a5d4118efc51319852 /config_host
parentb4a281af53efa0c36ee1770e6cf4d800be77a6d2 (diff)
Move HAVE_MORE_FONTS into an extra config header
No need to recompile most of LibreOffice, because the --with-fonts configure flag changed. This preprocessor define is just used by unit tests anyway. Change-Id: Ia2eae7d0c74e59e034fdd8513504a34e51ab428e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128197 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/config_features.h.in5
-rw-r--r--config_host/config_fonts.h.in9
2 files changed, 9 insertions, 5 deletions
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
index db4f7e1b28ae..86a5c6a9c6d9 100644
--- a/config_host/config_features.h.in
+++ b/config_host/config_features.h.in
@@ -129,11 +129,6 @@
#define HAVE_FEATURE_POPPLER 0
/*
- * Whether extra fonts are available
- */
-#define HAVE_MORE_FONTS 0
-
-/*
* Whether the automatic online updater is available
*/
#define HAVE_FEATURE_UPDATE_MAR 0
diff --git a/config_host/config_fonts.h.in b/config_host/config_fonts.h.in
new file mode 100644
index 000000000000..edb828128658
--- /dev/null
+++ b/config_host/config_fonts.h.in
@@ -0,0 +1,9 @@
+#ifndef CONFIG_FONTS_H
+#define CONFIG_FONTS_H
+
+/*
+ * Whether extra fonts are available
+ */
+#define HAVE_MORE_FONTS 0
+
+#endif