depends  autoconf   &&

if [[ $GIT_SHA_OPT == openssl ]] ; then
  depends  openssl
fi  &&

if  [[  "$GIT_SVN"  ==  "y"  ]];  then
  depends  lwp  &&
  depends  uri
fi  &&

optional_depends  curl                                                   \
                  '--with-curl'                                          \
                  '--without-curl'                                       \
                  'For http pull'                                        &&

optional_depends  expat                                                  \
                  '--with-expat'                                         \
                  '--without-expat'                                      \
                  'for http push'                                        &&

optional_depends  python                                                 \
                  ''                                                     \
                  '--without-python'                                     \
                  'For the recursive merge strategy'                     &&

# these should become suggest_depends when possible
optional_depends  perl                                                   \
                  ''                                                     \
                  ''                                                     \
                  'For arch/cvs/svn import and other advanced commands'  &&
optional_depends  rsync                                                  \
                  ''                                                     \
                  ''                                                     \
                  'For syncing repos with rsync'                         &&
optional_depends  rcs                                                    \
                  ''                                                     \
                  ''                                                     \
                  'For RCS-based simple merge support'                   &&
optional_depends  dbd-sqlite                                             \
                  ''                                                     \
                  ''                                                     \
                  'For git-cvsserver'                                    &&
optional_depends  tk                                                     \
                  '--with-tcltk'                                         \
                  ''                                                     \
                  'For interactive GUI and graphical history browser'    &&

source $GRIMOIRE/is_depends_enabled.function  &&

if  is_depends_enabled  $SPELL  perl
then
  depends  perl-error
fi
