optional_depends zlib '' '' 'for zlib support' &&
optional_depends pcre '--with-pcre' '--without-pcre' 'for PCRE support' &&
optional_depends bzip2 '--with-bzip2' '--without-bzip2' 'for bzip2 support' &&
optional_depends openldap '--with-ldap' '--without-ldap' 'for OpenLDAP support' &&
optional_depends openssl '--with-openssl' '--without-openssl' 'for OpenSSL support' &&
optional_depends mysql '--with-mysql' '--without-mysql' 'for MySQL support' &&
optional_depends gdbm '--with-gdbm' '--without-gdbm' 'gdbm storage for mod_trigger_b4_dl' &&
optional_depends FAM '--with-fam' '--without-fam' 'to reduce number of stat() calls' &&
optional_depends lua '--with-lua' '--without-lua' 'lua engine for mod_cml'  &&
if list_find $LIGHTTPD_OPTS "--with-webdav-props"
then
depends sqlite  &&
depends libxml2
fi
