summaryrefslogtreecommitdiff
path: root/meson_options.txt
blob: f566475ab02aaec99815bfd7aa4d243b1824ce3d (plain)
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
169
170
171
172
173
174
175
176
177
178
179
option('with_brotli',
	type: 'feature',
	value: 'disabled',
	description: 'with brotli-support for mod_deflate [default: off]',
)
option('with_bzip',
	type: 'feature',
	value: 'disabled',
	description: 'with bzip2-support for mod_deflate [default: off]',
)
option('with_dbi',
	type: 'feature',
	value: 'disabled',
	description: 'with dbi-support for mod_auth mod_vhostdb_dbi [default: off]',
)
option('with_libdeflate',
	type: 'feature',
	value: 'disabled',
	description: 'with libdeflate-support for mod_deflate [default: off]',
)
option('with_fam',
	type: 'feature',
	value: 'disabled',
	description: 'fam/gamin for reducing number of stat() calls [default: off]',
)
option('with_gnutls',
	type: 'boolean',
	value: false,
	description: 'with GnuTLS-support [default: off]',
)
option('with_krb5',
	type: 'feature',
	value: 'disabled',
	description: 'with Kerberos5-support for mod_auth [default: off]',
)
option('with_ldap',
	type: 'feature',
	value: 'disabled',
	description: 'with LDAP-support for mod_auth mod_vhostdb_ldap [default: off]',
)
option('with_libev',
	type: 'feature',
	value: 'disabled',
	description: 'libev support for fdevent handlers [default: off]',
)
option('with_libunwind',
	type: 'feature',
	value: 'disabled',
	description: 'with libunwind to print backtraces in asserts [default: off]',
)
option('with_lua',
	type: 'boolean',
	value: false,
	description: 'with lua for mod_magnet [default: off]',
)
option('with_maxminddb',
	type: 'feature',
	value: 'disabled',
	description: 'with MaxMind GeoIP2-support mod_maxminddb [default: off]',
)
option('with_mbedtls',
	type: 'boolean',
	value: false,
	description: 'with mbedTLS-support [default: off]',
)
option('with_mysql',
	type: 'feature',
	value: 'disabled',
	description: 'with mysql-support for mod_vhostdb_mysql [default: off]',
)
option('with_nettle',
	type: 'boolean',
	value: false,
	description: 'with Nettle-support [default: off]',
)
option('with_nss',
	type: 'boolean',
	value: false,
	description: 'with NSS-crypto-support [default: off]',
)
option('with_openssl',
	type: 'boolean',
	value: false,
	description: 'with openssl-support [default: off]',
)
option('with_pam',
	type: 'feature',
	value: 'disabled',
	description: 'with PAM-support for mod_auth [default: off]',
)
option('with_pcre2',
	type: 'boolean',
	value: true,
	description: 'with regex support [default: on]',
)
option('with_pcre',
	type: 'combo',
	choices: ['auto','pcre2','pcre','disabled'],
	value: 'auto',
	description: 'with regex support [default: auto]',
)
option('with_pgsql',
	type: 'feature',
	value: 'disabled',
	description: 'with postgres-support for mod_vhostdb_pgsql [default: off]',
)
option('with_sasl',
	type: 'feature',
	value: 'disabled',
	description: 'with SASL support for mod_authn_sasl [default: off]',
)
#option('with_valgrind',
#	type: 'boolean',
#	value: false,
#	description: 'with internal support for valgrind [default: off]',
#)
option('with_webdav_locks',
	type: 'feature',
	value: 'disabled',
	description: 'locks in webdav [default: off]',
)
option('with_webdav_props',
	type: 'feature',
	value: 'disabled',
	description: 'with property-support for mod_webdav [default: off]',
)
option('with_wolfssl',
	type: 'boolean',
	value: false,
	description: 'with wolfSSL-support [default: off]',
)
option('with_xattr',
	type: 'boolean',
	value: false,
	description: 'with xattr-support for the stat-cache [default: off]',
)
option('with_xxhash',
	type: 'feature',
	value: 'disabled',
	description: 'with system-provided libxxhash [default: off]',
)
option('with_zlib',
	type: 'feature',
	value: 'enabled',
	description: 'with deflate-support for mod_deflate [default: on]',
)
option('with_zstd',
	type: 'feature',
	value: 'disabled',
	description: 'with zstd-support for mod_deflate [default: off]',
)

option('build_extra_warnings',
	type: 'boolean',
	value: false,
	description: 'extra warnings (only enabled with gcc/clang)',
)
option('warn_cflags',
	type: 'string',
	value: '-g -g2 -Wall -Wmissing-declarations -Wcast-align -Wsign-compare -Wnested-externs -Wpointer-arith -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -Wformat -Werror=format-security',
	description: 'CFLAGS to use when build_extra_warnings is active',
)

option('build_static',
	type: 'boolean',
	value: false,
	description: 'build a static lighttpd with all modules added',
)

option('moduledir',
	type: 'string',
	value: 'lib/lighttpd',
	description: 'Location to install modules to (relative to prefix)',
)

option('lua_version',
	type: 'string',
	description: 'Look for a specific lua version',
)