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

optional_depends zlib \
                 "--with-zlib-dir=$INSTALL_ROOT/" \
                 "--with-zlib-dir=bundled" \
                 "to use system zlib instead of bundled" &&

optional_depends readline \
                 "--without-readline" "" \
                 "to use system readline instead of bundled" &&

optional_depends libedit \
                 "--without-libedit" "" \
                 "to use system libedit instead of bundled" &&

optional_depends openssl \
                 "--with-ssl" \
                 "--without-ssl" \
                 "for OpenSSL support" &&

optional_depends valgrind \
                 "--with-valgrind" \
                 "--without-valgrind" \
                 "for Valgrind instrumentation" &&

if list_find "$MADB_OPTS" "--with-libevent=yes"; then
  optional_depends libevent \
                   "--with-libevent=$INSTALL_ROOT/usr" \
                   "--with-libevent=bundled" \
                   "to use system libevent instead of bundled"
fi
