Update git submodules
[LibreOffice.git] / config_host / config_features.h.in
blobc0d24e392eaef4e79741585bce950501443c323a
1 /* Configuration of high-level features that either 1) depend on the
2 * platform (but are common to several platforms so just checking for
3 * the feature is simpler than checking for several platforms), or 2)
4 * are build-time configurable.
5 */
7 #ifndef CONFIG_FEATURES_H
8 #define CONFIG_FEATURES_H
10 /* X11
12 * Whether we are building code to run in an X11 environment.
15 #define HAVE_FEATURE_X11 0
17 /* AVMEDIA - Whether to have functionality to display and manipulate
18 * embedded AV media in documents
21 #define HAVE_FEATURE_AVMEDIA 0
23 /* DBCONNECTIVITY - Whether to have functionality to connect to
24 * databases.
27 #define HAVE_FEATURE_DBCONNECTIVITY 0
29 /* SCRIPTING - Whether we have any mechanism to execute user-provided scripts
31 * Primarily intended for the iOS App Store where the
32 * rules prohibit user-accessible scripting features.
33 * Sure, it would be nice to still be able to have internal features
34 * implemented in some scripting language. Later, if necessary.
37 #define HAVE_FEATURE_SCRIPTING 0
39 /* MULTIUSER_ENVIRONMENT - Whether running on a "normal" multi-user
40 * desktop (or server) OS
42 * Non-MULTIUSER implies that the OS makes sure that only one
43 * LibreOffice-based process at a time can be running that could
44 * access the same local documents, and that thus no locking of local
45 * documents is needed, and that no "shared documents" in Calc
46 * is meaningful.
48 * Non-MULTIUSER in practice means Android or iOS for now, so thus is
49 * work in progress.
52 #define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 0
55 * Whether the OS has Avahi support,
56 * This library is used for zeroconf service publication on the local network
57 * for the Impress remote control, so that the remote can automatically
58 * discover the running libO instance and its IP address.
60 * This library should be present on most modern linux distributions
61 * but not on "all" of them. For now, you should add --enable-avahi for
62 * this to be taken into account. Otherwise the test of its presence
63 * will not take place.
66 #define HAVE_FEATURE_AVAHI 0
68 /* MACOSX_SANDBOX - whether LibreOffice runs in a macOS sandbox
70 * When building LibreOffice for distribution through the Mac App Store,
71 * it must be sandboxed.
74 #define HAVE_FEATURE_MACOSX_SANDBOX 0
76 /* READONLY_INSTALLSET - whether to treat the installation as read-only
78 * Prevents attempts by LibreOffice to write into its installation. That means
79 * at least that no "system-wide" extensions can be added, if the location for
80 * them is the traditional one right in the middle of the installation.
81 * Probably not completely implemented.
84 #define HAVE_FEATURE_READONLY_INSTALLSET 0
87 * Whether FreeType has FT_Face_GetCharVariantIndex or not.
89 #define HAVE_FT_FACE_GETCHARVARIANTINDEX 0
92 * Whether to use validation on files.
94 #define HAVE_EXPORT_VALIDATION 0
97 * Whether to use export validation of binary formats (doc, xls, ppt)
99 * Requires installed Microsoft Office Binary File Format Validator
100 * https://www.microsoft.com/en-us/download/details.aspx?id=26794
102 #define HAVE_BFFVALIDATOR 0
105 * Whether we support breakpad as crash reporting lib.
107 #define HAVE_FEATURE_BREAKPAD 0
110 * Whether OpenGL is enabled
112 #define HAVE_FEATURE_OPENGL 0
115 * Whether Skia is enabled
117 #define HAVE_FEATURE_SKIA 0
120 * Whether User Interface is available
122 #define HAVE_FEATURE_UI 1
125 * Whether PDF import is available
127 #define HAVE_FEATURE_PDFIMPORT 0
130 * Whether NSS is available
132 #define HAVE_FEATURE_NSS 0
135 * Whether pdfium is available
137 #define HAVE_FEATURE_PDFIUM 0
140 * Whether poppler is available
142 #define HAVE_FEATURE_POPPLER 0
145 * Whether extra fonts are available
147 #define HAVE_MORE_FONTS 0
150 * Whether the automatic online updater is available
152 #define HAVE_FEATURE_UPDATE_MAR 0
155 * Whether we are avoiding the tweaks needed for the Android app from the
156 * android/ subdir.
158 #define HAVE_FEATURE_ANDROID_LOK 0
160 #endif