depends g++ &&

if [[ ${BACULA_SCM} == "y" ]]; then
  depends git
fi &&
if [[ -z "$BACULA_CLIENT" ]]; then
  depends $BACULA_BACKEND "--with-$BACULA_BACKEND=$INSTALL_ROOT/usr" &&

  optional_depends mtx-tape '' '' 'for tape support' &&
  optional_depends libgnome '--enable-gnome' '--disable-gnome' 'for GNOME console' &&
  optional_depends wxgtk '--enable-wx-console' '--disable-wx-console' 'for wxWidgets console' &&
  optional_depends gtk+2 '--enable-tray-monitor' '--disable-tray-monitor' 'for tray monitor' &&
  optional_depends openssl '--with-openssl' '--without-openssl' 'for encrypted communication' &&
  optional_depends python '--with-python' '--without-python' 'for Python scripting support'
fi
