depends  zlib    &&
depends  perl    &&
depends  procps  &&
depends  g++     &&

if [[ $OLD == y ]]; then
  optional_depends openssl \
                   "--with-openssl" \
                   "--without-openssl" \
                   "for OpenSSL support"
else
  optional_depends openssl \
                   "--with-ssl" \
                   "--without-ssl" \
                   "for OpenSSL support"
fi  &&

if  ! list_find "$MSQL_ENGINES" "none"  &&  list_find "$MSQL_ENGINES" "BerkeleyDB"; then
  depends  db  "--with-berkeley-db"
fi
