summaryrefslogtreecommitdiffstats
path: root/config_host
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:54:39 +0000
commit267c6f2ac71f92999e969232431ba04678e7437e (patch)
tree358c9467650e1d0a1d7227a21dac2e3d08b622b2 /config_host
parentInitial commit. (diff)
downloadlibreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz
libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'config_host')
-rw-r--r--config_host/.gitignore1
-rw-r--r--config_host/README.md24
-rw-r--r--config_host/config_atspi.h.in14
-rw-r--r--config_host/config_box2d.h.in7
-rw-r--r--config_host/config_buildconfig.h.in9
-rw-r--r--config_host/config_buildid.h.in10
-rw-r--r--config_host/config_cairo_canvas.h.in6
-rw-r--r--config_host/config_cairo_rgba.h.in6
-rw-r--r--config_host/config_clang.h.in21
-rw-r--r--config_host/config_crypto.h.in38
-rw-r--r--config_host/config_cxxabi.h.in26
-rw-r--r--config_host/config_dbus.h.in18
-rw-r--r--config_host/config_dconf.h.in17
-rw-r--r--config_host/config_eot.h.in6
-rw-r--r--config_host/config_extensions.h.in15
-rw-r--r--config_host/config_feature_desktop.h.in28
-rw-r--r--config_host/config_feature_opencl.h.in13
-rw-r--r--config_host/config_features.h.in152
-rw-r--r--config_host/config_firebird.h.in10
-rw-r--r--config_host/config_folders.h.in54
-rw-r--r--config_host/config_fonts.h.in9
-rw-r--r--config_host/config_fuzzers.h.in10
-rw-r--r--config_host/config_gio.h.in17
-rw-r--r--config_host/config_global.h.in50
-rw-r--r--config_host/config_gpgme.h.in33
-rw-r--r--config_host/config_java.h.in14
-rw-r--r--config_host/config_langs.h.in10
-rw-r--r--config_host/config_lgpl.h.in14
-rw-r--r--config_host/config_libcxx.h.in17
-rw-r--r--config_host/config_liblangtag.h.in6
-rw-r--r--config_host/config_locales.h.in58
-rw-r--r--config_host/config_mpl.h.in9
-rw-r--r--config_host/config_oauth2.h.in48
-rw-r--r--config_host/config_oox.h.in13
-rw-r--r--config_host/config_options.h.in26
-rw-r--r--config_host/config_options_calc.h.in10
-rw-r--r--config_host/config_poppler.h.in10
-rw-r--r--config_host/config_probes.h.in7
-rw-r--r--config_host/config_python.h.in10
-rw-r--r--config_host/config_skia.h.in80
-rw-r--r--config_host/config_typesizes.h.in19
-rw-r--r--config_host/config_validation.h.in14
-rw-r--r--config_host/config_vclplug.h.in36
-rw-r--r--config_host/config_vendor.h.in10
-rw-r--r--config_host/config_version.h.in24
-rw-r--r--config_host/config_wasm_strip.h.in22
-rw-r--r--config_host/config_writerperfect.h.in35
-rw-r--r--config_host/config_zxing.h.in19
48 files changed, 1105 insertions, 0 deletions
diff --git a/config_host/.gitignore b/config_host/.gitignore
new file mode 100644
index 0000000000..9becb5b616
--- /dev/null
+++ b/config_host/.gitignore
@@ -0,0 +1 @@
+config_*.h
diff --git a/config_host/README.md b/config_host/README.md
new file mode 100644
index 0000000000..af5030460d
--- /dev/null
+++ b/config_host/README.md
@@ -0,0 +1,24 @@
+# C/C++ Configuration Created by configure Script
+
+These are configuration files for various features as detected by `configure`.
+
+Include only those files you need (in order to reduce rebuilds when a setting changes).
+
+Settings here are only C/C++ `#define` directives, so they apply only to C/C++ source,
+not to Makefiles.
+
+## Adding a New Setting:
+
+- do `AC_DEFINE(HAVE_FOO)` in `configure.ac` when a setting should be set
+- choose the proper `config_host/config_XXX.h` file to use
+ - if it is a global setting (such as availability of a compiler feature),
+ use `config_host/config_global.h`
+ - otherwise check if there is a matching `config_host/config_XXX.h` file
+ - if none matches, add a new one:
+ - add `config_host/config_XXX.h.in` here, with just `#ifndef` include guard
+ - add `AC_CONFIG_HEADERS([config_host/config_XXX.h])` next to the others
+ in `configure.ac`
+- add `#define HAVE_FOO 0` to the `config_host/config_XXX.h`, possibly with a comment
+ (do not use `#undef HAVE_FOO`, unless the setting has more values than on/off)
+- add `#include <config_XXX.h>` before any #if `HAVE_FOO` in a source file
+- make sure you use `#if HAVE_FOO` for on/off settings, do not use `#ifdef`
diff --git a/config_host/config_atspi.h.in b/config_host/config_atspi.h.in
new file mode 100644
index 0000000000..7a4a48f2d2
--- /dev/null
+++ b/config_host/config_atspi.h.in
@@ -0,0 +1,14 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#define HAVE_ATSPI2_SCROLL_TO 0
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_box2d.h.in b/config_host/config_box2d.h.in
new file mode 100644
index 0000000000..4319878666
--- /dev/null
+++ b/config_host/config_box2d.h.in
@@ -0,0 +1,7 @@
+#ifndef CONFIG_BOX2D_H
+#define CONFIG_BOX2D_H
+
+/* Box2D/Box2D.h is 2.3, 2.4 has box2d/box2d.h */
+#define BOX2D_HEADER <box2d/box2d.h>
+
+#endif
diff --git a/config_host/config_buildconfig.h.in b/config_host/config_buildconfig.h.in
new file mode 100644
index 0000000000..a3b531e34e
--- /dev/null
+++ b/config_host/config_buildconfig.h.in
@@ -0,0 +1,9 @@
+/* Options passed to configure script */
+
+#ifndef CONFIG_BUILDCONFIG_H
+#define CONFIG_BUILDCONFIG_H
+
+#define BUILDCONFIG ""
+#define BUILDCONFIG_RECORDED 0
+
+#endif
diff --git a/config_host/config_buildid.h.in b/config_host/config_buildid.h.in
new file mode 100644
index 0000000000..04f03b8354
--- /dev/null
+++ b/config_host/config_buildid.h.in
@@ -0,0 +1,10 @@
+/*
+Optional Build ID displayed in the about dialog
+*/
+
+#ifndef CONFIG_BUILDID_H
+#define CONFIG_BUILDID_H
+
+#undef EXTRA_BUILDID
+
+#endif
diff --git a/config_host/config_cairo_canvas.h.in b/config_host/config_cairo_canvas.h.in
new file mode 100644
index 0000000000..0c3817533f
--- /dev/null
+++ b/config_host/config_cairo_canvas.h.in
@@ -0,0 +1,6 @@
+#ifndef CONFIG_CAIRO_CANVAS_H
+#define CONFIG_CAIRO_CANVAS_H
+
+#define ENABLE_CAIRO_CANVAS 0
+
+#endif
diff --git a/config_host/config_cairo_rgba.h.in b/config_host/config_cairo_rgba.h.in
new file mode 100644
index 0000000000..bdbecfbbc0
--- /dev/null
+++ b/config_host/config_cairo_rgba.h.in
@@ -0,0 +1,6 @@
+#ifndef CONFIG_CAIRO_RGBA_H
+#define CONFIG_CAIRO_RGBA_H
+
+#define ENABLE_CAIRO_RGBA 0
+
+#endif
diff --git a/config_host/config_clang.h.in b/config_host/config_clang.h.in
new file mode 100644
index 0000000000..678c53128c
--- /dev/null
+++ b/config_host/config_clang.h.in
@@ -0,0 +1,21 @@
+/*
+
+Settings related to Clang compiler plugins.
+
+*/
+
+#ifndef CONFIG_CLANG_H
+#define CONFIG_CLANG_H
+
+#undef BUILDDIR
+#undef SDKDIR
+#undef SRCDIR
+#undef WORKDIR
+
+#undef CLANG_VERSION
+
+/* This is actually unused, but it should change whenever Clang changes,
+thus causing update of this .h file and triggering rebuild of our Clang plugin. */
+#undef CLANG_FULL_VERSION
+
+#endif
diff --git a/config_host/config_crypto.h.in b/config_host/config_crypto.h.in
new file mode 100644
index 0000000000..33877f99af
--- /dev/null
+++ b/config_host/config_crypto.h.in
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef CONFIG_CRYPTO_H
+#define CONFIG_CRYPTO_H
+
+/*
+ * Whether NSS is available
+ */
+#define HAVE_FEATURE_NSS 0
+
+/*
+ * Use MS CAPI for crypto operations
+ */
+#define USE_CRYPTO_MSCAPI 0
+
+/*
+ * Use Mozilla for crypto operations
+ */
+#define USE_CRYPTO_NSS 0
+
+#if USE_CRYPTO_MSCAPI || USE_CRYPTO_NSS
+#define USE_CRYPTO_ANY 1
+#else
+#define USE_CRYPTO_ANY 0
+#endif
+
+#endif
+
+#undef SYSTEM_OPENSSL
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/config_host/config_cxxabi.h.in b/config_host/config_cxxabi.h.in
new file mode 100644
index 0000000000..0acaa56052
--- /dev/null
+++ b/config_host/config_cxxabi.h.in
@@ -0,0 +1,26 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef CONFIG_CXXABI_H
+#define CONFIG_CXXABI_H
+
+#define HAVE_CXXABI_H_BASE_CLASS_TYPE_INFO 0
+#define HAVE_CXXABI_H_CLASS_TYPE_INFO 0
+#define HAVE_CXXABI_H_CXA_ALLOCATE_EXCEPTION 0
+#define HAVE_CXXABI_H_CXA_EH_GLOBALS 0
+#define HAVE_CXXABI_H_CXA_EXCEPTION 0
+#define HAVE_CXXABI_H_CXA_GET_GLOBALS 0
+#define HAVE_CXXABI_H_CXA_CURRENT_EXCEPTION_TYPE 0
+#define HAVE_CXXABI_H_CXA_THROW 0
+#define HAVE_CXXABI_H_SI_CLASS_TYPE_INFO 0
+#define HAVE_CXXABI_H_VMI_CLASS_TYPE_INFO 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_dbus.h.in b/config_host/config_dbus.h.in
new file mode 100644
index 0000000000..4ac5c32faf
--- /dev/null
+++ b/config_host/config_dbus.h.in
@@ -0,0 +1,18 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_DBUS_H
+#define INCLUDED_CONFIG_DBUS_H
+
+#define ENABLE_DBUS 0
+#define DBUS_HAVE_GLIB 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_dconf.h.in b/config_host/config_dconf.h.in
new file mode 100644
index 0000000000..09608c4299
--- /dev/null
+++ b/config_host/config_dconf.h.in
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_DCONF_H
+#define INCLUDED_CONFIG_DCONF_H
+
+#define ENABLE_DCONF 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_eot.h.in b/config_host/config_eot.h.in
new file mode 100644
index 0000000000..d1c87a053b
--- /dev/null
+++ b/config_host/config_eot.h.in
@@ -0,0 +1,6 @@
+#ifndef CONFIG_EOT_H
+#define CONFIG_EOT_H
+
+#define ENABLE_EOT 0
+
+#endif
diff --git a/config_host/config_extensions.h.in b/config_host/config_extensions.h.in
new file mode 100644
index 0000000000..62cf186289
--- /dev/null
+++ b/config_host/config_extensions.h.in
@@ -0,0 +1,15 @@
+#ifndef CONFIG_EXTENSION_UPDATE
+#define CONFIG_EXTENSION_UPDATE
+
+/* EXTENSIONS - Whether we have any extension mechanism at all
+ *
+ * Primarily intended for non-desktop platforms where supporting
+ * extensions can be complicated, or even prohibited by the OS (as on
+ * iOS).
+ */
+
+#define HAVE_FEATURE_EXTENSIONS 0
+
+#define ENABLE_EXTENSION_UPDATE 0
+
+#endif
diff --git a/config_host/config_feature_desktop.h.in b/config_host/config_feature_desktop.h.in
new file mode 100644
index 0000000000..489f684afe
--- /dev/null
+++ b/config_host/config_feature_desktop.h.in
@@ -0,0 +1,28 @@
+/* A feature split out from config_features.h because it affects many files.
+ */
+
+#ifndef CONFIG_FEATURE_DESKTOP_H
+#define CONFIG_FEATURE_DESKTOP_H
+
+/* DESKTOP - Whether we have a "normal" desktop UI or not.
+ *
+ * Non-DESKTOP in practice means touch-based mobile devices, Android
+ * or iOS for now. Support for those is work in progress.
+ *
+ * Non-DESKTOP implies that the OS makes sure that only one instance
+ * of each LibreOffice-based "app" at a time can be running, and thus
+ * the LibreOffice code does not need to handle such things itself.
+ *
+ * Non-DESKTOP implies no traditional inter-app drag and drop concept.
+ *
+ * Non-DESKTOP implies no traditional help mechanism, and to some
+ * extent (as noticed, and as possible without making the code too
+ * ugly) the related code is ifdeffed out.
+ *
+ * Non-DESKTOP implies no traditional desktop-style GUI elements like
+ * toolbars and scrollbars presented by the LO code.
+ */
+
+#define HAVE_FEATURE_DESKTOP 0
+
+#endif
diff --git a/config_host/config_feature_opencl.h.in b/config_host/config_feature_opencl.h.in
new file mode 100644
index 0000000000..637c15a083
--- /dev/null
+++ b/config_host/config_feature_opencl.h.in
@@ -0,0 +1,13 @@
+/* A feature split out from config_features.h because it affects many files.
+ */
+
+#ifndef CONFIG_FEATURE_OPENCL_H
+#define CONFIG_FEATURE_OPENCL_H
+
+/*
+ * Whether OpenCL is usable on the platform and we should compile in use of OpenCL.
+ */
+
+#define HAVE_FEATURE_OPENCL 0
+
+#endif
diff --git a/config_host/config_features.h.in b/config_host/config_features.h.in
new file mode 100644
index 0000000000..0faa67c64d
--- /dev/null
+++ b/config_host/config_features.h.in
@@ -0,0 +1,152 @@
+/* Configuration of high-level features that either 1) depend on the
+ * platform (but are common to several platforms so just checking for
+ * the feature is simpler than checking for several platforms), or 2)
+ * are build-time configurable.
+ */
+
+#ifndef CONFIG_FEATURES_H
+#define CONFIG_FEATURES_H
+
+/* AVMEDIA - Whether to have functionality to display and manipulate
+ * embedded AV media in documents
+ */
+
+#define HAVE_FEATURE_AVMEDIA 0
+
+/* DBCONNECTIVITY - Whether to have functionality to connect to
+ * databases.
+ */
+
+#define HAVE_FEATURE_DBCONNECTIVITY 0
+
+/* SCRIPTING - Whether we have any mechanism to execute user-provided scripts
+ *
+ * Primarily intended for the iOS App Store where the
+ * rules prohibit user-accessible scripting features.
+ * Sure, it would be nice to still be able to have internal features
+ * implemented in some scripting language. Later, if necessary.
+ */
+
+#define HAVE_FEATURE_SCRIPTING 0
+
+/* MULTIUSER_ENVIRONMENT - Whether running on a "normal" multi-user
+ * desktop (or server) OS
+ *
+ * Non-MULTIUSER implies that the OS makes sure that only one
+ * LibreOffice-based process at a time can be running that could
+ * access the same local documents, and that thus no locking of local
+ * documents is needed, and that no "shared documents" in Calc
+ * is meaningful.
+ *
+ * Non-MULTIUSER in practice means Android or iOS for now, so thus is
+ * work in progress.
+ */
+
+#define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 0
+
+/*
+ * Whether the OS has Avahi support,
+ * This library is used for zeroconf service publication on the local network
+ * for the Impress remote control, so that the remote can automatically
+ * discover the running libO instance and its IP address.
+ *
+ * This library should be present on most modern linux distributions
+ * but not on "all" of them. For now, you should add --enable-avahi for
+ * this to be taken into account. Otherwise the test of its presence
+ * will not take place.
+ */
+
+#define HAVE_FEATURE_AVAHI 0
+
+/* MACOSX_SANDBOX - whether LibreOffice runs in a macOS sandbox
+ *
+ * When building LibreOffice for distribution through the Mac App Store,
+ * it must be sandboxed.
+ */
+
+#define HAVE_FEATURE_MACOSX_SANDBOX 0
+
+/* READONLY_INSTALLSET - whether to treat the installation as read-only
+ *
+ * Prevents attempts by LibreOffice to write into its installation. That means
+ * at least that no "system-wide" extensions can be added, if the location for
+ * them is the traditional one right in the middle of the installation.
+ * Probably not completely implemented.
+ */
+
+#define HAVE_FEATURE_READONLY_INSTALLSET 0
+
+/*
+ * Whether curl is available
+ */
+#define HAVE_FEATURE_CURL 0
+
+/*
+ * Whether we support breakpad as crash reporting lib.
+ */
+#define HAVE_FEATURE_BREAKPAD 0
+
+/* BACKTRACE - whether a GNU backtrace implementation is available.
+ */
+#define HAVE_FEATURE_BACKTRACE 0
+
+/*
+ * Whether OpenGL is enabled
+ */
+#define HAVE_FEATURE_OPENGL 0
+
+/*
+ * Whether Skia is enabled
+ */
+#define HAVE_FEATURE_SKIA 0
+
+/*
+ * Whether User Interface is available
+ */
+#define HAVE_FEATURE_UI 0
+
+/*
+ * Whether PDF import is available
+ */
+#define HAVE_FEATURE_PDFIMPORT 0
+
+/*
+ * Whether poppler is available
+ */
+#define HAVE_FEATURE_POPPLER 0
+
+/*
+ * Whether the automatic online updater is available
+ */
+#define HAVE_FEATURE_UPDATE_MAR 0
+
+/*
+ * Whether we are avoiding the tweaks needed for the Android app from the
+ * android/ subdir.
+ */
+#define HAVE_FEATURE_ANDROID_LOK 0
+
+/*
+ * Whether this is a Community Edition.
+ */
+#define HAVE_FEATURE_COMMUNITY_FLAVOR 0
+
+/* XMLHELP - whether we include the XML help mechanisms
+ *
+ * Can be turned off with --without-xmlhelp
+ */
+#define HAVE_FEATURE_XMLHELP 0
+
+/*
+ * Whether oosplash calls pagein binaries to speed up library loading.
+ * Probably not useful nowadays with SSD based systems.
+ */
+#define HAVE_FEATURE_PAGEIN 0
+
+/*
+ * Whether Calc supports jumbo sheets (more than 1m rows), which can overflow
+ * 32bit drawing coordinates (see tools::Long definition).
+ */
+#define HAVE_FEATURE_JUMBO_SHEETS 0
+
+#endif
diff --git a/config_host/config_firebird.h.in b/config_host/config_firebird.h.in
new file mode 100644
index 0000000000..edfbb2df62
--- /dev/null
+++ b/config_host/config_firebird.h.in
@@ -0,0 +1,10 @@
+/*
+Settings for Firebird
+*/
+
+#ifndef CONFIG_FIREBIRD_H
+#define CONFIG_FIREBIRD_H
+
+#define ENABLE_FIREBIRD_SDBC 0
+
+#endif
diff --git a/config_host/config_folders.h.in b/config_host/config_folders.h.in
new file mode 100644
index 0000000000..13051984f3
--- /dev/null
+++ b/config_host/config_folders.h.in
@@ -0,0 +1,54 @@
+/* Configuration of subfolder names in the installation tree. The
+ * values of these macros when configured will be strings. The names
+ * of these macros reflect what the value would be in an "ideal" world
+ * on Linux, not current reality. (For example LIBO_BIN_FOLDER is
+ * actually "program" on Linux and most other Unixes.)
+ */
+
+#ifndef CONFIG_FOLDERS_H
+#define CONFIG_FOLDERS_H
+
+/* where the soffice executable and other end-user-invoked executables are */
+#undef LIBO_BIN_FOLDER
+
+/* where the *rc / *.ini file are */
+#undef LIBO_ETC_FOLDER
+
+/* where helper executables run by soffice are */
+#undef LIBO_LIBEXEC_FOLDER
+
+/* where dynamic libraries loaded directly or programmatically are */
+#undef LIBO_LIB_FOLDER
+
+/* where read-only resources are in general */
+#undef LIBO_SHARE_FOLDER
+
+/* where help files are */
+#undef LIBO_SHARE_HELP_FOLDER
+
+/* where java jars are */
+#undef LIBO_SHARE_JAVA_FOLDER
+
+/* the presets folder */
+#undef LIBO_SHARE_PRESETS_FOLDER
+
+/* LO's own "resources" */
+#undef LIBO_SHARE_RESOURCE_FOLDER
+
+/* LO's "shell" artwork */
+#undef LIBO_SHARE_SHELL_FOLDER
+
+/* URE folders */
+#undef LIBO_URE_BIN_FOLDER
+#undef LIBO_URE_ETC_FOLDER
+#undef LIBO_URE_LIB_FOLDER
+#undef LIBO_URE_MISC_FOLDER
+#undef LIBO_URE_SHARE_JAVA_FOLDER
+
+/* the source root directory of the build */
+#undef SRC_ROOT
+
+/* the build directory of the build */
+#undef BUILDDIR
+
+#endif
diff --git a/config_host/config_fonts.h.in b/config_host/config_fonts.h.in
new file mode 100644
index 0000000000..edb8281286
--- /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
diff --git a/config_host/config_fuzzers.h.in b/config_host/config_fuzzers.h.in
new file mode 100644
index 0000000000..a33823260a
--- /dev/null
+++ b/config_host/config_fuzzers.h.in
@@ -0,0 +1,10 @@
+/*
+Settings for fuzzers mode
+*/
+
+#ifndef CONFIG_FUZZERS_H
+#define CONFIG_FUZZERS_H
+
+#define ENABLE_FUZZERS 0
+
+#endif
diff --git a/config_host/config_gio.h.in b/config_host/config_gio.h.in
new file mode 100644
index 0000000000..a2d880ed8e
--- /dev/null
+++ b/config_host/config_gio.h.in
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_GIO_H
+#define INCLUDED_CONFIG_GIO_H
+
+#define ENABLE_GIO 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_global.h.in b/config_host/config_global.h.in
new file mode 100644
index 0000000000..dce52798a1
--- /dev/null
+++ b/config_host/config_global.h.in
@@ -0,0 +1,50 @@
+/*
+Global configuration file.
+
+Only for settings that apply to every source file and are unlikely to change often,
+such as whether a certain C++11 feature is available.
+
+Do NOT use for settings local to some code or for settings that can change often.
+Any change in this header will cause a rebuild of almost everything.
+
+*/
+
+#ifndef CONFIG_GLOBAL_H
+#define CONFIG_GLOBAL_H
+
+#define HAVE_GCC_BUILTIN_ATOMIC 0
+#define HAVE_SYSLOG_H 0
+
+// Compiler supports C++20 <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1073r3.html>
+// "Immediate functions":
+#define HAVE_CPP_CONSTEVAL 0
+
+// Compiler supports all of C++2a <https://wg21.link/P0202R3> "Add Constexpr Modifiers to Functions
+// in <algorithm> and <utility> Headers", <https://wg21.link/P1004R2> "Making std::vector
+// constexpr", and <https://wg21.link/P1143R2> "Adding the constinit keyword":
+#define HAVE_CPP_CONSTINIT_SORTED_VECTOR 0
+
+/* "CWG motion 23: P1825R0 'Merged wording for P0527R1 and P1155R3' (DR)" in
+ <https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/n4829.html> "N4829 Editors' Report --
+ Programming Languages -- C++" marks
+ <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1155r3.html> "More implicit moves" as a
+ DR. Some versions of GCC already implemented it prior to the fix for
+ <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87150> "move ctor wrongly chosen in return stmt
+ (derived vs. base)"; MSVC++ 14.24 started to implement it, see <https://
+ developercommunity.visualstudio.com/content/problem/852827/
+ msvc-1424-started-to-chose-move-ctor-in-return-der.html> "MSVC++ 14.24 started to choose move ctor
+ in return derived vs. base". At least Clang 9, which does not implement it, emits
+ -Werror,-Wreturn-std-move when it therefore considers a std::move to be missing. On the other
+ hand, at least some versions of GCC would emit -Werror=redundant-move in places where such a
+ std::move would be added unconditionally, see c00948d9bd35dfb15a331c2163f32e9ee24644fd "Silence
+ bogus -Werror=redundant-move (GCC 9)". */
+#define HAVE_P1155R3 0
+
+// Whether the OS provides a usable dynamic loading API
+#define HAVE_DLAPI 0
+
+// Whether the OS uses the common UNIX dynamic loading API calls, like dlopen, dlsym, dladdr etc.
+// Use HAVE_DLAPI instead. Should not be used outside of sal/osl/unx/module.cxx!
+#define HAVE_UNIX_DLAPI 0
+
+#endif
diff --git a/config_host/config_gpgme.h.in b/config_host/config_gpgme.h.in
new file mode 100644
index 0000000000..ead3ca7bc2
--- /dev/null
+++ b/config_host/config_gpgme.h.in
@@ -0,0 +1,33 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* Configuration for gpgme++.
+ */
+
+#ifndef CONFIG_GPGME_H
+#define CONFIG_GPGME_H
+
+// Defined if gpgme support is available
+#define HAVE_FEATURE_GPGME 0
+
+// Defined if gpg and gpgme signature verification is available
+#define HAVE_FEATURE_GPGVERIFY 0
+
+// Defined if gpgconf --create-socketdir works
+#define HAVE_GPGCONF_SOCKETDIR 0
+
+#if HAVE_FEATURE_GPGME
+# include "config_lgpl.h"
+#endif
+
+#undef GPGME_GPGCONF
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_java.h.in b/config_host/config_java.h.in
new file mode 100644
index 0000000000..8f05ec6267
--- /dev/null
+++ b/config_host/config_java.h.in
@@ -0,0 +1,14 @@
+#ifndef CONFIG_JAVA_H
+#define CONFIG_JAVA_H
+
+/* JAVA
+ *
+ * Whether we have support for Java extensions, and use own Java
+ * functionality).
+ */
+
+#define HAVE_FEATURE_JAVA 0
+
+#undef JAVA_ARCH
+
+#endif
diff --git a/config_host/config_langs.h.in b/config_host/config_langs.h.in
new file mode 100644
index 0000000000..d60a5c1684
--- /dev/null
+++ b/config_host/config_langs.h.in
@@ -0,0 +1,10 @@
+/* Configuration of restriction on supported ui languages, by the
+ * --with-lang option.
+ */
+
+#ifndef CONFIG_LANGS_H
+#define CONFIG_LANGS_H
+
+#define WITH_LANG ""
+
+#endif
diff --git a/config_host/config_lgpl.h.in b/config_host/config_lgpl.h.in
new file mode 100644
index 0000000000..f157a5cb1b
--- /dev/null
+++ b/config_host/config_lgpl.h.in
@@ -0,0 +1,14 @@
+/*
+ * Include this file to ensure that this code is not
+ * compiled into the MPL subset.
+ */
+#ifndef CONFIG_LGPL_H
+#define CONFIG_LGPL_H
+
+#include "config_mpl.h"
+
+#if MPL_HAVE_SUBSET
+# error "Attempting to compile LGPL code into MPL subset"
+#endif
+
+#endif
diff --git a/config_host/config_libcxx.h.in b/config_host/config_libcxx.h.in
new file mode 100644
index 0000000000..d1ae77a532
--- /dev/null
+++ b/config_host/config_libcxx.h.in
@@ -0,0 +1,17 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_HOST_CONFIG_LIBCXX_H
+#define INCLUDED_CONFIG_HOST_CONFIG_LIBCXX_H
+
+#define HAVE_LIBCPP 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/config_host/config_liblangtag.h.in b/config_host/config_liblangtag.h.in
new file mode 100644
index 0000000000..f639fb76c1
--- /dev/null
+++ b/config_host/config_liblangtag.h.in
@@ -0,0 +1,6 @@
+#ifndef CONFIG_LIBLANGTAG_H
+#define CONFIG_LIBLANGTAG_H
+
+#define LIBLANGTAG_INLINE_FIX 0
+
+#endif
diff --git a/config_host/config_locales.h.in b/config_host/config_locales.h.in
new file mode 100644
index 0000000000..b9b6988cc8
--- /dev/null
+++ b/config_host/config_locales.h.in
@@ -0,0 +1,58 @@
+/* Configuration of restriction on supported locales, by the
+ * --with-locales option.
+ *
+ * (Note that this is totally unrelated to what UI language(s) were
+ * configured with the --with-lang option.)
+ *
+ * Normally, especially for desktop OSes, LibreOffice is built to
+ * support all the locales and character encodings that it has code
+ * (data) for in the source code. By using the --with-locales
+ * configure switch, this can be restricted.
+ *
+ * This file defines feature test macros for those languages for which
+ * at least one locale is to be supported. In some cases, a feature
+ * test macro for a script is provided in addition or instead.
+ *
+ * Only languages for which there exists separate code and/or data in
+ * the source code need to be mentioned here.
+ */
+
+#ifndef CONFIG_LOCALES_H
+#define CONFIG_LOCALES_H
+
+/* In the normal case WITH_LOCALE_ALL is one and this
+ * overrides the others which are zero.
+ */
+#define WITH_LOCALE_ALL 0
+
+/* When --with-locales was used, WITH_LOCALE_ALL is zero and some of
+ * these are one.
+ */
+#define WITH_LOCALE_ca 0
+#define WITH_LOCALE_cu 0
+#define WITH_LOCALE_dz 0
+#define WITH_LOCALE_el 0
+#define WITH_LOCALE_he 0
+#define WITH_LOCALE_hi 0
+#define WITH_LOCALE_hr 0
+#define WITH_LOCALE_hu 0
+#define WITH_LOCALE_is 0
+#define WITH_LOCALE_ja 0
+#define WITH_LOCALE_ko 0
+#define WITH_LOCALE_ku 0
+#define WITH_LOCALE_ln 0
+#define WITH_LOCALE_my 0
+#define WITH_LOCALE_ne 0
+#define WITH_LOCALE_ro 0
+#define WITH_LOCALE_ru 0
+#define WITH_LOCALE_sid 0
+#define WITH_LOCALE_th 0
+#define WITH_LOCALE_tr 0
+#define WITH_LOCALE_uk 0
+#define WITH_LOCALE_vro 0
+#define WITH_LOCALE_zh 0
+
+#define WITH_LOCALE_FOR_SCRIPT_Cyrl 0
+#define WITH_LOCALE_FOR_SCRIPT_Deva 0
+
+#endif
diff --git a/config_host/config_mpl.h.in b/config_host/config_mpl.h.in
new file mode 100644
index 0000000000..bde10e3cea
--- /dev/null
+++ b/config_host/config_mpl.h.in
@@ -0,0 +1,9 @@
+/* config_host/config_mpl.h. Generated from config_mpl.h.in by configure. */
+
+#ifndef CONFIG_MPL_H
+#define CONFIG_MPL_H
+
+#define MPL_HAVE_SUBSET 0
+
+#endif
+
diff --git a/config_host/config_oauth2.h.in b/config_host/config_oauth2.h.in
new file mode 100644
index 0000000000..9945dda3dd
--- /dev/null
+++ b/config_host/config_oauth2.h.in
@@ -0,0 +1,48 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ */
+
+#ifndef CONFIG_OAUTH2_H
+#define CONFIG_OAUTH2_H
+
+
+/* Google Drive settings */
+#define GDRIVE_BASE_URL "https://www.googleapis.com/drive/v3"
+#define GDRIVE_CLIENT_ID ""
+#define GDRIVE_CLIENT_SECRET ""
+#define GDRIVE_AUTH_URL "https://accounts.google.com/o/oauth2/v2/auth"
+#define GDRIVE_TOKEN_URL "https://oauth2.googleapis.com/token"
+#define GDRIVE_REDIRECT_URI "urn:ietf:wg:oauth:2.0:oob"
+#define GDRIVE_SCOPE "https://www.googleapis.com/auth/drive.file"
+
+
+/* Alfresco Cloud */
+#define ALFRESCO_CLOUD_BASE_URL "https://api.alfresco.com/"
+#define ALFRESCO_CLOUD_CLIENT_ID ""
+#define ALFRESCO_CLOUD_CLIENT_SECRET ""
+#define ALFRESCO_CLOUD_AUTH_URL "https://api.alfresco.com/auth/oauth/versions/2/authorize"
+#define ALFRESCO_CLOUD_TOKEN_URL "https://api.alfresco.com/auth/oauth/versions/2/token"
+#define ALFRESCO_CLOUD_REDIRECT_URI "http://127.0.0.1/Callback"
+#define ALFRESCO_CLOUD_SCOPE "public_api"
+
+
+/* OneDrive */
+#define ONEDRIVE_BASE_URL "https://graph.microsoft.com/v1.0"
+#define ONEDRIVE_CLIENT_ID ""
+#define ONEDRIVE_CLIENT_SECRET ""
+#define ONEDRIVE_AUTH_URL "https://login.microsoftonline.com/common/oauth2/v2.0/authorize"
+#define ONEDRIVE_TOKEN_URL "https://login.microsoftonline.com/common/oauth2/v2.0/token"
+#define ONEDRIVE_REDIRECT_URI "http://localhost/LibreOffice"
+#define ONEDRIVE_SCOPE "Files.ReadWrite offline_access"
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_oox.h.in b/config_host/config_oox.h.in
new file mode 100644
index 0000000000..f711fa7947
--- /dev/null
+++ b/config_host/config_oox.h.in
@@ -0,0 +1,13 @@
+#ifndef CONFIG_OOX_H
+#define CONFIG_OOX_H
+
+/*
+
+Which TLS backend to use for cryptographic operations.
+
+*/
+
+#define USE_TLS_OPENSSL 0
+#define USE_TLS_NSS 0
+
+#endif
diff --git a/config_host/config_options.h.in b/config_host/config_options.h.in
new file mode 100644
index 0000000000..37f044f1b4
--- /dev/null
+++ b/config_host/config_options.h.in
@@ -0,0 +1,26 @@
+/*
+ * General configuration settings for various options.
+ */
+
+#ifndef CONFIG_OPTIONS_H
+#define CONFIG_OPTIONS_H
+
+#define ENABLE_MERGELIBS 0
+
+#define ENABLE_RUNTIME_OPTIMIZATIONS 0
+
+// Used to turn off visibility for some classes/symbols when linking with --enable-mergelibs
+//
+#if ENABLE_MERGELIBS
+#define UNLESS_MERGELIBS(x)
+#else
+#define UNLESS_MERGELIBS(x) x
+#endif
+#if ENABLE_MERGELIBS
+#define IF_MERGELIBS(x) x
+#else
+#define IF_MERGELIBS(x)
+#endif
+
+
+#endif
diff --git a/config_host/config_options_calc.h.in b/config_host/config_options_calc.h.in
new file mode 100644
index 0000000000..f369797a5e
--- /dev/null
+++ b/config_host/config_options_calc.h.in
@@ -0,0 +1,10 @@
+/*
+ * General configuration settings for various options specific to Calc.
+ */
+
+#ifndef CONFIG_OPTIONS_CALC_H
+#define CONFIG_OPTIONS_CALC_H
+
+#define ENABLE_FORMULA_LOGGER 0
+
+#endif
diff --git a/config_host/config_poppler.h.in b/config_host/config_poppler.h.in
new file mode 100644
index 0000000000..8cb1ddb95d
--- /dev/null
+++ b/config_host/config_poppler.h.in
@@ -0,0 +1,10 @@
+/*
+Settings for poppler header file detection
+*/
+
+#ifndef CONFIG_POPPLER_H
+#define CONFIG_POPPLER_H
+
+#define ENABLE_PDFIMPORT 0
+
+#endif
diff --git a/config_host/config_probes.h.in b/config_host/config_probes.h.in
new file mode 100644
index 0000000000..b15a1f077e
--- /dev/null
+++ b/config_host/config_probes.h.in
@@ -0,0 +1,7 @@
+#ifndef CONFIG_PROBES_H
+#define CONFIG_PROBES_H
+
+/* Whether we have and can use sys/sdt.h for probes. */
+#define USE_SDT_PROBES 0
+
+#endif
diff --git a/config_host/config_python.h.in b/config_host/config_python.h.in
new file mode 100644
index 0000000000..8972fbd773
--- /dev/null
+++ b/config_host/config_python.h.in
@@ -0,0 +1,10 @@
+/* python stuff */
+
+#ifndef CONFIG_PYTHON_H
+#define CONFIG_PYTHON_H
+
+#undef PYTHON_VERSION_STRING
+
+#define ENABLE_LIBRELOGO 0
+
+#endif // CONFIG_PYTHON_H
diff --git a/config_host/config_skia.h.in b/config_host/config_skia.h.in
new file mode 100644
index 0000000000..602e18a3f6
--- /dev/null
+++ b/config_host/config_skia.h.in
@@ -0,0 +1,80 @@
+/*
+
+Settings for the Skia library. We compile the Skia library with these
+settings and also LO code uses this header to ensure the settings
+are the same.
+*/
+
+#ifndef CONFIG_SKIA_H
+#define CONFIG_SKIA_H
+
+// This is a setting that should be set manually and it affects LO
+// code rather than Skia itself. It basically controls setting
+// BackendCapabilities::mbSupportsBitmap32, i.e. whether one LO bitmap
+// contains all the 32bits of an image including the alpha (premultiplied).
+//
+// Since Skia does not natively support 24bpp, the preferred setup is
+// that the setting should be enabled, it makes the code faster and cleaner.
+//
+// Unfortunately VCL historically splits alpha into a whole separate
+// bitmap and works with 24bpp+8bpp, which is generally more complicated,
+// more error-prone and just worse, but that's how LO code has been
+// written and so there are many places in LO that expect this and
+// do not work correctly with true 32bpp bitmaps.
+//
+// So ultimately the 24+8 split should be dumped (preferably in all of LO,
+// not just the Skia-related code), but until all of LO works correctly
+// with 32bpp keep this disabled in order to avoid such breakages.
+
+//#define SKIA_USE_BITMAP32 1
+#define SKIA_USE_BITMAP32 0
+
+
+// GPU support (set by configure).
+#undef SK_GANESH
+// Vulkan support enabled (set by configure).
+#undef SK_VULKAN
+// Metal support enabled (set by configure).
+#undef SK_METAL
+
+// Memory allocator for Vulkan.
+#define SK_USE_VMA 1
+
+#define SK_CODEC_DECODES_PNG 1
+#define SK_ENCODE_PNG 1
+
+// These are just to avoid warnings (some headers use them even with GL disabled).
+#define SK_ASSUME_GL 1
+#define SK_ASSUME_GL_ES 0
+
+#define SK_ENABLE_SKSL 1
+
+// See https://codereview.chromium.org/2089583002 . This makes raster drawing
+// faster in some cases, it was made conditional because of some tests failing,
+// but if I'm reading the review correctly the code is in fact fine and just
+// those tests needed updating, which presumably has never happened.
+#define SK_DRAWBITMAPRECT_FAST_OFFSET 1
+
+// Default to BGRA. Skia already defaults to that on Windows, and it seems
+// the default X11 visual is actually also BGRA.
+#define SK_R32_SHIFT 16
+
+// Enable Skia's internal checks depending on DBG_UTIL mode.
+// ENABLE_SKIA_DEBUG controls whether to build with or without optimizations, and
+// is set by using --enable-skia=debug.
+#ifdef DBG_UTIL
+
+#define SK_DEBUG
+
+#define SK_ENABLE_DUMP_GPU
+
+#else
+
+#define SK_RELEASE
+
+#endif // DBG_UTIL
+
+// TODO ?
+//#define SK_R32_SHIFT 16
+
+#endif
diff --git a/config_host/config_typesizes.h.in b/config_host/config_typesizes.h.in
new file mode 100644
index 0000000000..cc0fcf8f8a
--- /dev/null
+++ b/config_host/config_typesizes.h.in
@@ -0,0 +1,19 @@
+/*
+
+ Alignments and sizes of types.
+
+*/
+
+#ifndef CONFIG_TYPESIZES_H
+#define CONFIG_TYPESIZES_H
+
+#undef SAL_TYPES_ALIGNMENT2
+#undef SAL_TYPES_ALIGNMENT4
+#undef SAL_TYPES_ALIGNMENT8
+#undef SAL_TYPES_SIZEOFSHORT
+#undef SAL_TYPES_SIZEOFINT
+#undef SAL_TYPES_SIZEOFLONG
+#undef SAL_TYPES_SIZEOFLONGLONG
+#undef SAL_TYPES_SIZEOFPOINTER
+
+#endif
diff --git a/config_host/config_validation.h.in b/config_host/config_validation.h.in
new file mode 100644
index 0000000000..892dd1262c
--- /dev/null
+++ b/config_host/config_validation.h.in
@@ -0,0 +1,14 @@
+#pragma once
+
+/*
+ * Whether to use validation on files.
+ */
+#define HAVE_EXPORT_VALIDATION 0
+
+/*
+ * Whether to use export validation of binary formats (doc, xls, ppt)
+ *
+ * Requires installed Microsoft Office Binary File Format Validator
+ * https://www.microsoft.com/en-us/download/details.aspx?id=26794
+ */
+#define HAVE_BFFVALIDATOR 0
diff --git a/config_host/config_vclplug.h.in b/config_host/config_vclplug.h.in
new file mode 100644
index 0000000000..2334288cd4
--- /dev/null
+++ b/config_host/config_vclplug.h.in
@@ -0,0 +1,36 @@
+/*
+
+Settings about which desktops have support enabled.
+
+*/
+
+#ifndef CONFIG_VCLPLUG_H
+#define CONFIG_VCLPLUG_H
+
+/**
+ * Set, if the platform uses X11 code.
+ */
+#define USING_X11 0
+
+/**
+ * Set the enabled platform plugins
+ */
+#define ENABLE_GEN 0
+#define ENABLE_GTK3 0
+#define ENABLE_GTK3_KDE5 0
+#define ENABLE_HEADLESS 0
+#define ENABLE_KF5 0
+#define ENABLE_KF6 0
+#define ENABLE_QT5 0
+#define ENABLE_QT6 0
+
+/**
+ * Additional settings for the plugins
+ */
+#define USE_HEADLESS_CODE 0
+#define ENABLE_GSTREAMER_1_0 0
+#define QT5_HAVE_GOBJECT 0
+#define QT5_USING_X11 0
+#define QT6_USING_X11 0
+
+#endif
diff --git a/config_host/config_vendor.h.in b/config_host/config_vendor.h.in
new file mode 100644
index 0000000000..32602210c3
--- /dev/null
+++ b/config_host/config_vendor.h.in
@@ -0,0 +1,10 @@
+/* Configuration of restriction on supported ui languages, by the
+ * --with-lang option.
+ */
+
+#ifndef CONFIG_VENDOR_H
+#define CONFIG_VENDOR_H
+
+#define OOO_VENDOR ""
+
+#endif
diff --git a/config_host/config_version.h.in b/config_host/config_version.h.in
new file mode 100644
index 0000000000..40c7dad24c
--- /dev/null
+++ b/config_host/config_version.h.in
@@ -0,0 +1,24 @@
+/*
+Version settings
+ version 4.0.0.1 is Major.Minor.Micro.Patch
+*/
+
+#ifndef CONFIG_VERSION_H
+#define CONFIG_VERSION_H
+
+#define LIBO_VERSION_STRINGIFY_inner(s) #s
+#define LIBO_VERSION_STRINGIFY(s) LIBO_VERSION_STRINGIFY_inner(s)
+
+#undef LIBO_VERSION_MAJOR
+#undef LIBO_VERSION_MINOR
+#undef LIBO_VERSION_MICRO
+#undef LIBO_VERSION_PATCH
+#undef LIBO_THIS_YEAR
+
+#define LIBO_VERSION_DOTTED \
+ LIBO_VERSION_STRINGIFY(LIBO_VERSION_MAJOR) "." \
+ LIBO_VERSION_STRINGIFY(LIBO_VERSION_MINOR) "." \
+ LIBO_VERSION_STRINGIFY(LIBO_VERSION_MICRO) "." \
+ LIBO_VERSION_STRINGIFY(LIBO_VERSION_PATCH)
+
+#endif
diff --git a/config_host/config_wasm_strip.h.in b/config_host/config_wasm_strip.h.in
new file mode 100644
index 0000000000..34cc6d9b01
--- /dev/null
+++ b/config_host/config_wasm_strip.h.in
@@ -0,0 +1,22 @@
+#ifndef CONFIG_FEATURE_WASM_STRIP_H
+#define CONFIG_FEATURE_WASM_STRIP_H
+
+#define ENABLE_WASM_STRIP_ACCESSIBILITY 0
+#define ENABLE_WASM_STRIP_WRITER 0
+#define ENABLE_WASM_STRIP_CALC 0
+#define ENABLE_WASM_STRIP_CANVAS 0
+#define ENABLE_WASM_STRIP_CHART 0
+#define ENABLE_WASM_STRIP_DBACCESS 0
+#define ENABLE_WASM_STRIP_EPUB 0
+#define ENABLE_WASM_STRIP_EXTRA 0
+#define ENABLE_WASM_STRIP_GUESSLANG 0
+#define ENABLE_WASM_STRIP_HUNSPELL 0
+#define ENABLE_WASM_STRIP_PINGUSER 0
+#define ENABLE_WASM_STRIP_PREMULTIPLY 0
+#define ENABLE_WASM_STRIP_RECENT 0
+#define ENABLE_WASM_STRIP_RECOVERYUI 0
+#define ENABLE_WASM_STRIP_SPLASH 0
+#define ENABLE_WASM_STRIP_SWEXPORTS 0
+#define ENABLE_WASM_STRIP_SCEXPORTS 0
+
+#endif
diff --git a/config_host/config_writerperfect.h.in b/config_host/config_writerperfect.h.in
new file mode 100644
index 0000000000..8d2d819dd6
--- /dev/null
+++ b/config_host/config_writerperfect.h.in
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* Configuration for versions of import libraries used by writerperfect.
+ * This is needed to skip test files that are not supported by the used
+ * version.
+ */
+
+#undef EBOOK_VERSION_MAJOR
+#undef EBOOK_VERSION_MINOR
+#undef EBOOK_VERSION_MICRO
+
+#undef ETONYEK_VERSION_MAJOR
+#undef ETONYEK_VERSION_MINOR
+#undef ETONYEK_VERSION_MICRO
+
+#undef MWAW_VERSION_MAJOR
+#undef MWAW_VERSION_MINOR
+#undef MWAW_VERSION_MICRO
+
+#undef STAROFFICE_VERSION_MAJOR
+#undef STAROFFICE_VERSION_MINOR
+#undef STAROFFICE_VERSION_MICRO
+
+#undef WPS_VERSION_MAJOR
+#undef WPS_VERSION_MINOR
+#undef WPS_VERSION_MICRO
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/config_host/config_zxing.h.in b/config_host/config_zxing.h.in
new file mode 100644
index 0000000000..01b5400c68
--- /dev/null
+++ b/config_host/config_zxing.h.in
@@ -0,0 +1,19 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_CONFIG_ZXING_H
+#define INCLUDED_CONFIG_ZXING_H
+
+#define ENABLE_ZXING 0
+
+#define HAVE_ZXING_TOSVG 0
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */