depends  APR '--with-apr=/usr'       &&
depends  APU '--with-apr-util=/usr'  &&
depends  autoconf                    &&
depends  bison                       &&
depends  e2fsprogs                   &&
depends  libtool                     &&

if [[ "$SVN_HEAD" == y ]]; then
  depends python
fi &&

if   [[ "$SVN_PERL"   == y ]] \
  || [[ "$SVN_PYTHON" == y ]] \
  || [[ "$SVN_RUBY"   == y ]]
then
  depends swig '--with-swig' &&

  if [[ "$SVN_PERL"   == y ]]; then depends perl;   fi &&
  if [[ "$SVN_PYTHON" == y ]]; then depends python; fi &&
  if [[ "$SVN_RUBY"   == y ]]; then depends ruby;   fi
fi &&

optional_depends zlib '--with-zlib' '--without-zlib' 'for stream compression support' &&
optional_depends gettext '--enable-nls' '--disable-nls' 'for language translations' &&
optional_depends openssl '--with-ssl' '--without-ssl' 'for SSL/TLS support' &&
optional_depends cyrus-sasl '--with-sasl' '--without-sasl' 'for Cyrus SASL authentication' &&
optional_depends neon '--with-neon=/usr' '--without-neon' 'for Subversion client to support DAV' &&

optional_depends db '--with-berkeley-db' '--without-berkeley-db' 'for Berkeley DB backend' &&
optional_depends APACHE2 '--with-apxs' '--without-apxs' 'to create Apache 2 modules'
