bump product version to 4.2.0.1
[LibreOffice.git] / config_host / config_features.h.in
blob0f63f26a7c32b46b92fa9669d2c651bcbfd14ade
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 /* JAVA
12 * Whether we have support for Java extensions, and use own Java
13 * functionality).
16 #define HAVE_FEATURE_JAVA 0
18 /* DESKTOP - Whether we have a "normal" desktop UI or not.
20 * Non-DESKTOP in practice means touch-based mobile devices, Android
21 * or iOS for now. Support for those is work in pogress.
23 * Non-DESKTOP implies that the OS makes sure that only one instance
24 * of each LibreOffice-based "app" at a time can be running, and thus
25 * the LibreOffice code does not need to handle such things itself.
27 * Non-DESKTOP implies no traditional inter-app drag and drop concept.
29 * Non-DESKTOP implies no traditional help mechanism, and to some
30 * extent (as noticed, and as possible without making the code too
31 * ugly) the related code is ifdeffed out.
33 * Non-DESKTOP implies no traditional desktop-style GUI elements like
34 * toolbars and scrollbars presented by the LO code.
37 #define HAVE_FEATURE_DESKTOP 0
39 /* X11
41 * Whether we are building code to run in an X11 environment.
44 #define HAVE_FEATURE_X11 0
46 /* EXTENSIONS - Whether we have any extension mechanism at all
48 * Primarily intended for non-desktop platforms where supporting
49 * extensions can be complicated, or even prohibited by the OS (as on
50 * iOS).
53 #define HAVE_FEATURE_EXTENSIONS 0
55 /* MULTIUSER_ENVIRONMENT - Wheter running on a "normal" multi-user
56 * desktop (or server) OS
58 * Non-MULTIUSER implies that the OS makes sure that only one
59 * LibreOffice-based process at a time can be running that could
60 * access the same local documents, and that thus no locking of local
61 * documents is needed, and that no "shared documents" in Calc
62 * is meaningful.
64 * Non-MULTIUSER in practice means Android or iOS for now, so thus is
65 * work in progress.
68 #define HAVE_FEATURE_MULTIUSER_ENVIRONMENT 0
71 * Whether OpenCL is usable on the platform and we should compile in use of OpenCL.
74 #define HAVE_FEATURE_OPENCL 0
76 /*
77 * Whether the OS has Avahi support,
78 * This library is used for zeroconf service publication on the local network
79 * for the Impress remote control, so that the remote can automatically
80 * discover the running libO instance and its IP address.
82 * This library should be present on most mordern linux distributions
83 * but not on "all" of them. For now, you should add --enable-avahi for
84 * this to be taken into account. Otherwise the test of its presence
85 * will not take place.
88 #define HAVE_FEATURE_AVAHI 0
90 /* MACOSX_SANDBOX - whether LibreOffice runs in an OS X sandbox
92 * When building LibreOffice for distribution through the Mac App Store,
93 * it must be sandboxed.
96 #define HAVE_FEATURE_MACOSX_SANDBOX 0
98 /* MACOSX_MACLIKE_APP_STRUCTURE - LibreOffice.app substructure style
100 * Whether the structure of the LibreOffice.app bundle is more
101 * "Mac-like" and what it has been previously, for instance with all
102 * dylibs in the "Frameworks" folder and all non-code data in a the
103 * "Resources" folder. For now coupled to HAVE_FEATURE_MACOSX_SANDBOX
104 * in configure.ac.
107 #define HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE 0
109 /* READONLY_INSTALLSET - whether to treat the installation as read-only
111 * Prevents attempts by LibreOffice to write into its installation. That means
112 * at least that no "system-wide" extensions can be added, if the location for
113 * them is the traditional one. Experimental work in progress, not actually implemented.
116 #define HAVE_FEATURE_READONLY_INSTALLSET 0
119 * Whether FreeType has FT_Face_GetCharVariantIndex or not.
121 #define HAVE_FT_FACE_GETCHARVARIANTINDEX 0
123 #endif