optional_depends  db  "--enable-db"  "--disable-db"  "Berkeley DB support"     &&
optional_depends  LIBSASL "--with-sasl"  "--without-sasl"  "Sasl support"  &&
if [[ ${LIBETPAN_TLS} == "gnutls" ]]
then
  depends  gnutls  "--without-opennssl --with-gnutls"
elif [[ ${LIBETPAN_TLS} == "SSL" ]]
then
  depends  SSL  "--with-openssl --without-gnutls"
fi &&
optional_depends curl  "--with-curl"  "--without-curl"  "for newsfeeds" &&
optional_depends expat "--with-expat" "--without-expat" "for newsfeeds"
