-
Notifications
You must be signed in to change notification settings - Fork 978
Expand file tree
/
Copy pathconfig.h.in
More file actions
168 lines (116 loc) · 4.12 KB
/
config.h.in
File metadata and controls
168 lines (116 loc) · 4.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
#pragma once
/* Variables that usually don't change once configured */
/* The user-visible name of the app you build. */
#undef APP_NAME
/* Default value of feature_lock.calc_unlock_highlights */
#undef CALC_UNLOCK_HIGHLIGHTS
/* Define to 1 if this is a code-coverage build. */
#undef CODE_COVERAGE
/* Enable permanent anonymization in logs */
#undef COOLWSD_ANONYMIZE_USER_DATA
/* Options passed to configure script */
#undef COOLWSD_BUILDCONFIG
/* Directory that contains configuration of coolwsd */
#undef COOLWSD_CONFIGDIR
/* Default coolwsd loglevel */
#undef COOLWSD_LOGLEVEL
/* Default location of coolwsd log file */
#undef COOLWSD_LOGFILE
/* Default location of coolwsd UI command log file */
#undef COOLWSD_LOGFILE_UICMD
/* Destination for Trace Event output */
#undef COOLWSD_TRACEEVENTFILE
/* The user-name which is allowed to run coolwsd and its tools */
#undef COOL_USER_ID
/* Default number of pre-spawn children */
#undef NUM_PRESPAWN_CHILDREN
/* Absolute path to the top-level source directory */
#undef DEBUG_ABSSRCDIR
/* Whether to disable SECCOMP */
#undef DISABLE_SECCOMP
/* Default value of feature_lock.draw_unlock_highlights */
#undef DRAW_UNLOCK_HIGHLIGHTS
/* Whether to compile in some extra debugging support code and disable some
security pieces */
#undef ENABLE_DEBUG
/* Whether to compile and enable feature locking */
#undef ENABLE_FEATURE_LOCK
/* Whether to compile and enable feature restrictions */
#undef ENABLE_FEATURE_RESTRICTION
/* Whether to enable SSL */
#undef ENABLE_SSL
/* Whether to default to using SSL_VERIFY_PEER */
#undef SSL_VERIFY
/* Whether to enable support key */
#undef ENABLE_SUPPORT_KEY
/* Should the Release notes message be shown on upgrade */
#undef ENABLE_WELCOME_MESSAGE
/* User feedback URL. */
#undef FEEDBACK_URL
/* Define to 1 if libcap (cap_get_proc) is available, otherwise 0 */
#define HAVE_LIBCAP 0
/* Define to 1 if the `ppoll' function is available, otherwise 0. */
#define HAVE_PPOLL 0
/* Define to 1 if the `memrchr' function is available, otherwise 0. */
#define HAVE_MEMRCHR 0
/* Define to 1 if the `pipe2' function is available, otherwise 0. */
#define HAVE_PIPE2 0
/* Default value of help root URL */
#undef HELP_URL
/* Default value of feature_lock.impress_unlock_highlights */
#undef IMPRESS_UNLOCK_HIGHLIGHTS
/* Infobar URL. */
#undef INFOBAR_URL
/* Define to 1 if this is a libfuzzer build. */
#undef LIBFUZZER
/* Default value of feature_lock.locked_commands */
#undef LOCKED_COMMANDS
/* Enable logging of test assertions */
#undef LOK_LOG_ASSERTIONS
/* Path to LibreOffice installation */
#undef LO_PATH
/* Limit the maximum number of open connections */
#undef MAX_CONNECTIONS
/* Limit the maximum number of open documents */
#undef MAX_DOCUMENTS
/* Define to 1 if this is a mobileapp (eg. Android) build. */
#undef MOBILEAPP
/* Define to 1 when we should use systemplate and jails (eg. normal coolwsd server), otherwise 0 (eg. CODA). */
#undef ENABLE_CHILDROOTS
/* Default value of feature_lock.unlock_description */
#undef UNLOCK_DESCRIPTION
/* Default value of feature_lock.unlock_link */
#undef UNLOCK_LINK
/* Default value of feature_lock.unlock_title */
#undef UNLOCK_TITLE
/* The welcome url of the build. */
#undef WELCOME_URL
/* Default value of feature_lock.writer_unlock_highlights */
#undef WRITER_UNLOCK_HIGHLIGHTS
/* Should we enable SIMD acceleration */
#undef ENABLE_SIMD
/* Define to 1 if this is the WASM app build. */
#undef WASMAPP
/* Define to 1 if building for macOS */
#undef MACOS
/* Makes config variables conditionally static, only in non-debug builds, to allow for overriding them in unit-tests. */
#undef CONFIG_STATIC_TYPE
/* This top-level config.h is used only in "normal" COOL, thus we
* don't need the Windows version of EXPORT here, and not EXTERNC
* either.
*/
#define EXTERNC /**/
#define EXPORT /**/
/* Controls whether or not we allow loading documents from the local filesystem. */
#ifndef ENABLE_LOCAL_FILESYSTEM
#if MOBILEAPP || ENABLE_DEBUG
#define ENABLE_LOCAL_FILESYSTEM 1
#else
#define ENABLE_LOCAL_FILESYSTEM 0
#endif
#endif
#if defined(__COVERITY__)
#define CONFIG_STATIC static
#else
#define CONFIG_STATIC CONFIG_STATIC_TYPE
#endif