xref: /lighttpd1.4/meson_options.txt (revision 6b3c50fe)
1option('with_brotli',
2	type: 'feature',
3	value: 'disabled',
4	description: 'with brotli-support for mod_deflate [default: off]',
5)
6option('with_bzip',
7	type: 'feature',
8	value: 'disabled',
9	description: 'with bzip2-support for mod_deflate [default: off]',
10)
11option('with_dbi',
12	type: 'feature',
13	value: 'disabled',
14	description: 'with dbi-support for mod_auth mod_vhostdb_dbi [default: off]',
15)
16option('with_libdeflate',
17	type: 'feature',
18	value: 'disabled',
19	description: 'with libdeflate-support for mod_deflate [default: off]',
20)
21option('with_fam',
22	type: 'feature',
23	value: 'disabled',
24	description: 'fam/gamin for reducing number of stat() calls [default: off]',
25)
26option('with_gnutls',
27	type: 'boolean',
28	value: false,
29	description: 'with GnuTLS-support [default: off]',
30)
31option('with_krb5',
32	type: 'feature',
33	value: 'disabled',
34	description: 'with Kerberos5-support for mod_auth [default: off]',
35)
36option('with_ldap',
37	type: 'feature',
38	value: 'disabled',
39	description: 'with LDAP-support for mod_auth mod_vhostdb_ldap [default: off]',
40)
41option('with_libev',
42	type: 'feature',
43	value: 'disabled',
44	description: 'libev support for fdevent handlers [default: off]',
45)
46option('with_libunwind',
47	type: 'feature',
48	value: 'disabled',
49	description: 'with libunwind to print backtraces in asserts [default: off]',
50)
51option('with_lua',
52	type: 'boolean',
53	value: false,
54	description: 'with lua for mod_magnet [default: off]',
55)
56option('with_maxminddb',
57	type: 'feature',
58	value: 'disabled',
59	description: 'with MaxMind GeoIP2-support mod_maxminddb [default: off]',
60)
61option('with_mbedtls',
62	type: 'boolean',
63	value: false,
64	description: 'with mbedTLS-support [default: off]',
65)
66option('with_mysql',
67	type: 'feature',
68	value: 'disabled',
69	description: 'with mysql-support for mod_vhostdb_mysql [default: off]',
70)
71option('with_nettle',
72	type: 'boolean',
73	value: false,
74	description: 'with Nettle-support [default: off]',
75)
76option('with_nss',
77	type: 'boolean',
78	value: false,
79	description: 'with NSS-crypto-support [default: off]',
80)
81option('with_openssl',
82	type: 'boolean',
83	value: false,
84	description: 'with openssl-support [default: off]',
85)
86option('with_pam',
87	type: 'feature',
88	value: 'disabled',
89	description: 'with PAM-support for mod_auth [default: off]',
90)
91option('with_pcre2',
92	type: 'boolean',
93	value: true,
94	description: 'with regex support [default: on]',
95)
96option('with_pcre',
97	type: 'combo',
98	choices: ['auto','pcre2','pcre','disabled'],
99	value: 'auto',
100	description: 'with regex support [default: auto]',
101)
102option('with_pgsql',
103	type: 'feature',
104	value: 'disabled',
105	description: 'with postgres-support for mod_vhostdb_pgsql [default: off]',
106)
107option('with_sasl',
108	type: 'feature',
109	value: 'disabled',
110	description: 'with SASL support for mod_authn_sasl [default: off]',
111)
112#option('with_valgrind',
113#	type: 'boolean',
114#	value: false,
115#	description: 'with internal support for valgrind [default: off]',
116#)
117option('with_webdav_locks',
118	type: 'feature',
119	value: 'disabled',
120	description: 'locks in webdav [default: off]',
121)
122option('with_webdav_props',
123	type: 'feature',
124	value: 'disabled',
125	description: 'with property-support for mod_webdav [default: off]',
126)
127option('with_wolfssl',
128	type: 'boolean',
129	value: false,
130	description: 'with wolfSSL-support [default: off]',
131)
132option('with_xattr',
133	type: 'boolean',
134	value: false,
135	description: 'with xattr-support for the stat-cache [default: off]',
136)
137option('with_xxhash',
138	type: 'feature',
139	value: 'disabled',
140	description: 'with system-provided libxxhash [default: off]',
141)
142option('with_zlib',
143	type: 'feature',
144	value: 'enabled',
145	description: 'with deflate-support for mod_deflate [default: on]',
146)
147option('with_zstd',
148	type: 'feature',
149	value: 'disabled',
150	description: 'with zstd-support for mod_deflate [default: off]',
151)
152
153option('build_extra_warnings',
154	type: 'boolean',
155	value: false,
156	description: 'extra warnings (only enabled with gcc/clang)',
157)
158option('warn_cflags',
159	type: 'string',
160	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',
161	description: 'CFLAGS to use when build_extra_warnings is active',
162)
163
164option('build_static',
165	type: 'boolean',
166	value: false,
167	description: 'build a static lighttpd with all modules added',
168)
169
170option('moduledir',
171	type: 'string',
172	value: 'lib/lighttpd',
173	description: 'Location to install modules to (relative to prefix)',
174)
175
176option('lua_version',
177	type: 'string',
178	description: 'Look for a specific lua version',
179)
180