option('with_brotli',
	type: 'boolean',
	value: false,
	description: 'with brotli-support for mod_deflate [default: off]',
)
option('with_bzip',
	type: 'boolean',
	value: false,
	description: 'with bzip2-support for mod_deflate [default: off]',
)
option('with_dbi',
	type: 'boolean',
	value: false,
	description: 'with dbi-support for mod_auth mod_vhostdb_dbi [default: off]',
)
option('with_fam',
	type: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	description: 'with Kerberos5-support for mod_auth [default: off]',
)
option('with_ldap',
	type: 'boolean',
	value: false,
	description: 'with LDAP-support for mod_auth mod_vhostdb_ldap [default: off]',
)
option('with_libev',
	type: 'boolean',
	value: false,
	description: 'libev support for fdevent handlers [default: off]',
)
option('with_libunwind',
	type: 'boolean',
	value: false,
	description: 'with libunwind to print backtraces in asserts [default: off]',
)
option('with_lua',
	type: 'boolean',
	value: false,
	description: 'with lua 5.1 for mod_magnet [default: off]',
)
option('with_maxminddb',
	type: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	description: 'with regex support [default: off]',
)
option('with_pgsql',
	type: 'boolean',
	value: false,
	description: 'with postgres-support for mod_vhostdb_pgsql [default: off]',
)
option('with_sasl',
	type: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	description: 'locks in webdav [default: off]',
)
option('with_webdav_props',
	type: 'boolean',
	value: false,
	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: 'boolean',
	value: false,
	description: 'with system-provided libxxhash [default: off]',
)
option('with_zlib',
	type: 'boolean',
	value: true,
	description: 'with deflate-support for mod_deflate [default: on]',
)
option('with_zstd',
	type: 'boolean',
	value: false,
	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)',
)