if  [  "$GUI"  == "y"  ]
then
  if  [  "$GTK"  ==  "y"  ]
  then
    depends  gtk+2      "--with-gtk  --without-motif"
  else
    depends  openmotif  "--with-motif  --without-gtk" "" z-rejected
  fi
fi  &&

if  [  "$RUBY"  ==  "y"  ]
then
  depends  RUBY  "--with-ruby"
else
  depends  guile  "--with-guile"
fi  &&

optional_depends  gettext                        \
                  "--enable-nls"                 \
                  "--disable-nls"                \
                  "for Native Language Support"  &&

optional_depends  alsa-lib                       \
                  "--with-alsa"                  \
                  "--without-alsa"               \
                  "for ALSA sound card support"  &&

optional_depends  esound                \
                  "--with-esd"          \
                  "--without-esd"       \
                  "for ESounD support"  &&

optional_depends  JACK-DRIVER              \
                  "--with-jack"            \
                  "--without-jack"         \
                  "for JACK audio server"  &&

optional_depends  OPENGL                         \
                  "--with-gl"                    \
                  "--without-gl"                 \
                  "for openGL display (rocks!)"  &&

if [[ $(get_spell_provider $SPELL OPENGL) ]] && is_depends_enabled $SPELL gtk+2; then
  depends  gtkglext
fi  &&

optional_depends  ladspa                       \
                  "--with-ladspa"              \
                  "--without-ladspa"           \
                  "for LADSPA plugin support"  &&

optional_depends  gsl                         \
                  "--with-gsl"                \
                  "--without-gsl"             \
                  "better numerical support"  &&

optional_depends  fftw2                 \
                  "--with-fftw"         \
                  "--without-fftw"      \
                  "better FFT support"   &&

optional_depends  mpg123  ""  ""  "for mpg123 support"
