depends libevent &&

# requires xml2rfc (http://xml.resource.org/) non-existent spell
#optional_depends xml2rfc \
#                 "--enable-docs" \
#                 "--disable-docs" \
#                 "for documentation generation"

optional_depends LIBSASL \
                 "--enable-sasl" \
                 "--disable-sasl" \
                 "for SASL authentication support" &&

if is_depends_enabled $SPELL $(get_spell_provider $SPELL LIBSASL); then
  config_query_option MEMCACHED_OPTS "Enable plaintext password db for SASL?" n \
                                     "--enable-sasl-pwdb" \
                                     "--disable-sasl-pwdb"
fi
