depends zlib                                     &&
depends libtool                                  &&
if [[ $DOVECOT_MANAGESIEVE == y ]] ; then
depends autoconf                                 &&
depends automake
fi                                               &&
# gnutls support is broken
optional_depends openssl                         \
                 "--with-ssl=openssl"            \
                 "--without-ssl"                 \
                 "Enable SSL support"            &&
optional_depends linux-pam                       \
                 '--with-pam'                    \
                 '--without-pam'                 \
                 'for PAM support'               &&
optional_depends krb5                            \
                 '--with-gssapi'                 \
                 '--without-gssapi'              \
                 'for GSSAPI support'            &&
optional_depends openldap                        \
                 '--with-ldap'                   \
                 '--without-ldap'                \
                 'Enable LDAP support'           &&
optional_depends mysql                           \
                 '--with-mysql'                  \
                 '--without-mysql'               \
                 'for MySQL support'             &&
optional_depends postgresql                      \
                 '--with-pgsql'                  \
                 '--without-pgsql'               \
                 'for PostgreSQL support'        &&
optional_depends sqlite                          \
                 '--with-sqlite'                 \
                 '--without-sqlite'              \
                 'for SQLite support'            &&
optional_depends clucene                         \
                 '--with-lucene'                 \
                 '--without-lucene'              \
                 'for CLucene full text search support'
