config_query LIGHTTPD_EXTAUTH "Do you want to patch in external authentication program support?" n &&

config_query_option LIGHTTPD_OPTS "Do you want WebDAV support?" n \
                    "--with-webdav-props" "--without-webdav-props" &&

if list_find "$LIGHTTPD_OPTS" "--with-webdav-props"; then
    config_query_option LIGHTTPD_OPTS "Do you want to enable WebDAV locking support?" y \
                        "--with-webdav-locks" "--without-webdav-locks"
fi
