depends autoconf &&
depends automake &&
depends git &&
depends PKG-CONFIG &&
depends libtool &&
if [[ "${NGTCP2_WITHSSL}" == "y" ]]; then
  depends perl
fi &&

optional_depends gnutls \
                 "--with-gnutls" \
                 "--without-gnutls" \
                 "for GnuTLS crypto backend" &&

optional_depends libev \
                 "--with-libev" \
                 "--without-libev" \
                 "for examples" &&

if is_depends_enabled "${SPELL}" "libev" ; then
  depends nghttp3 "--with-libnghttp3"
else
  optional_depends nghttp3 \
                   "--with-libnghttp3" \
                   "--without-libnghttp3" \
                   "for HTTP/3 support"
fi

# Needs QUIC support in SSL
#optional_depends SSL \
#                 "--with-openssl" \
#                 "--without-openssl" \
#                 "for SSL crypto backend"
