depends zlib

optional_depends c-ares "--enable-ares" \
                 "--disable-ares" \
                 "for using c-ares for DNS lookups"

optional_depends libidn2 "--with-libidn2" \
                 "--without-libidn2" \
                 "for libidn2 support"

optional_depends %OSSL \
                 "--with-ssl" \
                 "--without-ssl" \
                 "for SSL encrypted transport ${PROBLEM_COLOR}(Choose only openssl OR gnutls)" y

optional_depends gnutls \
                 "--with-gnutls" \
                 "--without-gnutls" \
                 "for gnutls encrypted transport ${PROBLEM_COLOR}(Choose only openssl OR gnutls)" n

optional_depends libssh2 \
                 "--with-libssh2" \
                 "--without-libssh2" \
                 "for support of C implementation of ssh"

optional_depends nghttp2 \
                 "--with-nghttp2" \
                 "--without-nghttp2" \
                 "for support of HTTP2 protocol"

optional_depends openldap \
                 "--enable-ldap --enable-ldaps" \
                 "--disable-ldap --disable-ldaps" \
                 "for LDAP support ${PROBLEM_COLOR}Saying yes here can cause weird problems with gnutls, defaulting to no${DEFAULT_COLOR}" n

optional_depends %KERBEROS "--with-gssapi" "" "for Kerberos support,${PROBLEM_COLOR}Say no first curl install${DEFAULT_COLOR}" n
