summaryrefslogtreecommitdiffstats
path: root/kit
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2022-08-07 10:29:45 +0200
committerMichael Meeks <michael.meeks@collabora.com>2022-09-05 12:32:49 +0100
commitc4975d01e591e51dbe2f32bb75af27a5575e1122 (patch)
treeba9efa495eeb30537f6a13617ec25c0bce308cc4 /kit
parentPrometheus - log per-document details for getMetrics. (diff)
downloadonline-c4975d01e591e51dbe2f32bb75af27a5575e1122.tar.gz
online-c4975d01e591e51dbe2f32bb75af27a5575e1122.zip
Split config.h into separate headers to avoid extensive rebuild
Eg. if only the version was changed, config.h was updated, and everything was recompiled. New structure, maintain these manually: config.h.in - for configured variables that are stable if configuration parameters are unchanged config_version.h.in - for version/hash related variables ---- config_unused.h.in - still generated by autoheader with all variables, don't use it Signed-off-by: Aron Budea <aron.budea@collabora.com> Change-Id: Id9a50a9f1e798a3b3814778d8683b7d7cb57bb29
Diffstat (limited to 'kit')
-rw-r--r--kit/ForKit.cpp1
-rw-r--r--kit/Kit.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/kit/ForKit.cpp b/kit/ForKit.cpp
index 3dd46f38d9..04b729a5ad 100644
--- a/kit/ForKit.cpp
+++ b/kit/ForKit.cpp
@@ -10,6 +10,7 @@
*/
#include <config.h>
+#include <config_version.h>
#ifndef __FreeBSD__
#include <sys/capability.h>
diff --git a/kit/Kit.cpp b/kit/Kit.cpp
index 4ca2f27767..d07aa70a20 100644
--- a/kit/Kit.cpp
+++ b/kit/Kit.cpp
@@ -10,6 +10,7 @@
*/
#include <config.h>
+#include <config_version.h>
#include <dlfcn.h>
#ifdef __linux__