xref: /lighttpd1.4/meson_options.txt (revision 6b3c50fe)
18d5e237cSGlenn Straussoption('with_brotli',
26b31f76cSRosen Penev	type: 'feature',
36b31f76cSRosen Penev	value: 'disabled',
48d5e237cSGlenn Strauss	description: 'with brotli-support for mod_deflate [default: off]',
58d5e237cSGlenn Strauss)
616c4530eSStefan Bühleroption('with_bzip',
76b31f76cSRosen Penev	type: 'feature',
86b31f76cSRosen Penev	value: 'disabled',
9dab212b5SGlenn Strauss	description: 'with bzip2-support for mod_deflate [default: off]',
1016c4530eSStefan Bühler)
1116c4530eSStefan Bühleroption('with_dbi',
126b31f76cSRosen Penev	type: 'feature',
136b31f76cSRosen Penev	value: 'disabled',
143353ff20SGlenn Strauss	description: 'with dbi-support for mod_auth mod_vhostdb_dbi [default: off]',
1516c4530eSStefan Bühler)
16d68fc639SGlenn Straussoption('with_libdeflate',
176b31f76cSRosen Penev	type: 'feature',
186b31f76cSRosen Penev	value: 'disabled',
19d68fc639SGlenn Strauss	description: 'with libdeflate-support for mod_deflate [default: off]',
20d68fc639SGlenn Strauss)
2116c4530eSStefan Bühleroption('with_fam',
226b31f76cSRosen Penev	type: 'feature',
236b31f76cSRosen Penev	value: 'disabled',
2416c4530eSStefan Bühler	description: 'fam/gamin for reducing number of stat() calls [default: off]',
2516c4530eSStefan Bühler)
26bf4054f8SGlenn Straussoption('with_gnutls',
273353ff20SGlenn Strauss	type: 'boolean',
28*6b3c50feSRosen Penev	value: false,
29bf4054f8SGlenn Strauss	description: 'with GnuTLS-support [default: off]',
30bf4054f8SGlenn Strauss)
3116c4530eSStefan Bühleroption('with_krb5',
326b31f76cSRosen Penev	type: 'feature',
336b31f76cSRosen Penev	value: 'disabled',
3416c4530eSStefan Bühler	description: 'with Kerberos5-support for mod_auth [default: off]',
3516c4530eSStefan Bühler)
3616c4530eSStefan Bühleroption('with_ldap',
376b31f76cSRosen Penev	type: 'feature',
386b31f76cSRosen Penev	value: 'disabled',
3916c4530eSStefan Bühler	description: 'with LDAP-support for mod_auth mod_vhostdb_ldap [default: off]',
4016c4530eSStefan Bühler)
4116c4530eSStefan Bühleroption('with_libev',
426b31f76cSRosen Penev	type: 'feature',
436b31f76cSRosen Penev	value: 'disabled',
4416c4530eSStefan Bühler	description: 'libev support for fdevent handlers [default: off]',
4516c4530eSStefan Bühler)
4616c4530eSStefan Bühleroption('with_libunwind',
476b31f76cSRosen Penev	type: 'feature',
486b31f76cSRosen Penev	value: 'disabled',
4916c4530eSStefan Bühler	description: 'with libunwind to print backtraces in asserts [default: off]',
5016c4530eSStefan Bühler)
5116c4530eSStefan Bühleroption('with_lua',
5216c4530eSStefan Bühler	type: 'boolean',
5316c4530eSStefan Bühler	value: false,
54ee6df096SGlenn Strauss	description: 'with lua for mod_magnet [default: off]',
5516c4530eSStefan Bühler)
564ac239c4SGlenn Straussoption('with_maxminddb',
576b31f76cSRosen Penev	type: 'feature',
586b31f76cSRosen Penev	value: 'disabled',
594ac239c4SGlenn Strauss	description: 'with MaxMind GeoIP2-support mod_maxminddb [default: off]',
604ac239c4SGlenn Strauss)
61cb753ec5SGlenn Straussoption('with_mbedtls',
623353ff20SGlenn Strauss	type: 'boolean',
63*6b3c50feSRosen Penev	value: false,
64cb753ec5SGlenn Strauss	description: 'with mbedTLS-support [default: off]',
65cb753ec5SGlenn Strauss)
6616c4530eSStefan Bühleroption('with_mysql',
676b31f76cSRosen Penev	type: 'feature',
686b31f76cSRosen Penev	value: 'disabled',
6916c4530eSStefan Bühler	description: 'with mysql-support for mod_vhostdb_mysql [default: off]',
7016c4530eSStefan Bühler)
71b28a3714SGlenn Straussoption('with_nettle',
72b28a3714SGlenn Strauss	type: 'boolean',
73b28a3714SGlenn Strauss	value: false,
74b28a3714SGlenn Strauss	description: 'with Nettle-support [default: off]',
75b28a3714SGlenn Strauss)
76e00deb55SGlenn Straussoption('with_nss',
773353ff20SGlenn Strauss	type: 'boolean',
78*6b3c50feSRosen Penev	value: false,
79e00deb55SGlenn Strauss	description: 'with NSS-crypto-support [default: off]',
80e00deb55SGlenn Strauss)
8116c4530eSStefan Bühleroption('with_openssl',
8216c4530eSStefan Bühler	type: 'boolean',
8316c4530eSStefan Bühler	value: false,
8416c4530eSStefan Bühler	description: 'with openssl-support [default: off]',
8516c4530eSStefan Bühler)
86df4812ecSGlenn Straussoption('with_pam',
876b31f76cSRosen Penev	type: 'feature',
886b31f76cSRosen Penev	value: 'disabled',
89df4812ecSGlenn Strauss	description: 'with PAM-support for mod_auth [default: off]',
90df4812ecSGlenn Strauss)
917512d82cSGlenn Straussoption('with_pcre2',
927512d82cSGlenn Strauss	type: 'boolean',
93750414d3SGlenn Strauss	value: true,
94e563ae01SGlenn Strauss	description: 'with regex support [default: on]',
957512d82cSGlenn Strauss)
9616c4530eSStefan Bühleroption('with_pcre',
97d58f4ea2SRosen Penev	type: 'combo',
98d58f4ea2SRosen Penev	choices: ['auto','pcre2','pcre','disabled'],
99d58f4ea2SRosen Penev	value: 'auto',
100d58f4ea2SRosen Penev	description: 'with regex support [default: auto]',
10116c4530eSStefan Bühler)
10216c4530eSStefan Bühleroption('with_pgsql',
1036b31f76cSRosen Penev	type: 'feature',
1046b31f76cSRosen Penev	value: 'disabled',
10516c4530eSStefan Bühler	description: 'with postgres-support for mod_vhostdb_pgsql [default: off]',
10616c4530eSStefan Bühler)
107d61714ddSGlenn Straussoption('with_sasl',
1086b31f76cSRosen Penev	type: 'feature',
1096b31f76cSRosen Penev	value: 'disabled',
110d61714ddSGlenn Strauss	description: 'with SASL support for mod_authn_sasl [default: off]',
111d61714ddSGlenn Strauss)
11216c4530eSStefan Bühler#option('with_valgrind',
11316c4530eSStefan Bühler#	type: 'boolean',
11416c4530eSStefan Bühler#	value: false,
11516c4530eSStefan Bühler#	description: 'with internal support for valgrind [default: off]',
11616c4530eSStefan Bühler#)
11716c4530eSStefan Bühleroption('with_webdav_locks',
1186b31f76cSRosen Penev	type: 'feature',
1196b31f76cSRosen Penev	value: 'disabled',
12016c4530eSStefan Bühler	description: 'locks in webdav [default: off]',
12116c4530eSStefan Bühler)
12216c4530eSStefan Bühleroption('with_webdav_props',
1236b31f76cSRosen Penev	type: 'feature',
1246b31f76cSRosen Penev	value: 'disabled',
12516c4530eSStefan Bühler	description: 'with property-support for mod_webdav [default: off]',
12616c4530eSStefan Bühler)
127923b3210SGlenn Straussoption('with_wolfssl',
1283353ff20SGlenn Strauss	type: 'boolean',
129*6b3c50feSRosen Penev	value: false,
130923b3210SGlenn Strauss	description: 'with wolfSSL-support [default: off]',
131923b3210SGlenn Strauss)
13216c4530eSStefan Bühleroption('with_xattr',
13316c4530eSStefan Bühler	type: 'boolean',
13416c4530eSStefan Bühler	value: false,
13516c4530eSStefan Bühler	description: 'with xattr-support for the stat-cache [default: off]',
13616c4530eSStefan Bühler)
137d9c8e382SGlenn Straussoption('with_xxhash',
1386b31f76cSRosen Penev	type: 'feature',
1396b31f76cSRosen Penev	value: 'disabled',
140d9c8e382SGlenn Strauss	description: 'with system-provided libxxhash [default: off]',
141d9c8e382SGlenn Strauss)
14216c4530eSStefan Bühleroption('with_zlib',
1436b31f76cSRosen Penev	type: 'feature',
1446b31f76cSRosen Penev	value: 'enabled',
145dab212b5SGlenn Strauss	description: 'with deflate-support for mod_deflate [default: on]',
14616c4530eSStefan Bühler)
147a737572aSGlenn Straussoption('with_zstd',
1486b31f76cSRosen Penev	type: 'feature',
1496b31f76cSRosen Penev	value: 'disabled',
150a737572aSGlenn Strauss	description: 'with zstd-support for mod_deflate [default: off]',
151a737572aSGlenn Strauss)
15216c4530eSStefan Bühler
15316c4530eSStefan Bühleroption('build_extra_warnings',
15416c4530eSStefan Bühler	type: 'boolean',
15516c4530eSStefan Bühler	value: false,
15616c4530eSStefan Bühler	description: 'extra warnings (only enabled with gcc/clang)',
15716c4530eSStefan Bühler)
15816c4530eSStefan Bühleroption('warn_cflags',
15916c4530eSStefan Bühler	type: 'string',
160f95ca5efSGlenn Strauss	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',
16116c4530eSStefan Bühler	description: 'CFLAGS to use when build_extra_warnings is active',
16216c4530eSStefan Bühler)
16316c4530eSStefan Bühler
16416c4530eSStefan Bühleroption('build_static',
16516c4530eSStefan Bühler	type: 'boolean',
16616c4530eSStefan Bühler	value: false,
16716c4530eSStefan Bühler	description: 'build a static lighttpd with all modules added',
16816c4530eSStefan Bühler)
16916c4530eSStefan Bühler
17016c4530eSStefan Bühleroption('moduledir',
17116c4530eSStefan Bühler	type: 'string',
17216c4530eSStefan Bühler	value: 'lib/lighttpd',
17316c4530eSStefan Bühler	description: 'Location to install modules to (relative to prefix)',
17416c4530eSStefan Bühler)
1757792bc72SGlenn Strauss
1767792bc72SGlenn Straussoption('lua_version',
1777792bc72SGlenn Strauss	type: 'string',
1787792bc72SGlenn Strauss	description: 'Look for a specific lua version',
1797792bc72SGlenn Strauss)
180