depends  gnutls    &&
depends  libxml2   &&
depends  libnl '--with-macvtap' &&
depends  readline  &&
depends  curl      &&
depends  glib2     &&
depends  gnutls    &&
depends  libpciaccess &&

depends  -sub "LVM_FULL" lvm  '--with-storage-lvm'  &&

optional_depends  avahi                                  \
                  '--with-avahi'                         \
                  '--without-avahi'                      \
                  'for Avahi remote daemon advertising'  &&

optional_depends  LIBSASL                                  \
                  '--with-sasl'                            \
                  '--without-sasl'                         \
                  'for Cyrus SASL authentication support'  &&

optional_depends  gettext                        \
                  '--enable-nls'                 \
                  '--disable-nls'                \
                  'for Native Language support'  &&

optional_depends  iptables                        \
                  ''                              \
                  ''                              \
                  'for IP table routing support'  &&

optional_depends  xen-tools                         \
                  '--with-xen'                      \
                  '--without-xen'                   \
                  'for Xen support'                 &&

if is_depends_enabled $SPELL xen ; then
config_query_option  LIBVIRT_OPTS 'Enable Xen inotify support' y \
                     '--with-xen-inotify' '--without-xen-inotify'
fi &&

optional_depends  parted                              \
                  '--with-storage-disk'               \
                  '--without-storage-disk'            \
                  'for GParted partitioning backend'  &&

optional_depends  hal \
                  '--with-hal' \
                  '--without-hal' \
                  'HAL support' &&

optional_depends  python \
                  '--with-python' \
                  '--without-python' \
                  'Python bindings' &&

optional_depends  policykit \
                  '--with-polkit' \
                  '--without-polkit' \
                  'PolicyKit support' &&

optional_depends  libssh2 \
                  '--with-libssh2' \
                  '--without-libssh2' \
                  'SSH2 support' &&

optional_depends  'udev' \
                  '--with-udev' \
                  '--without-udev' \
                  'to use udev for host device enumeration' &&

optional_depends  'libpcap'  \
                  '--with-libpcap' \
                  '--without-libpcap' \
                  'for a packet filtering mechanism' &&

suggest_depends  nc '' '' 'for remote SSH tunneling' &&
suggest_depends  'bridge-utils' '' '' 'for creating TUN/TAP bridges'  &&
suggest_depends  'iproute2' '' '' 'for routing between TUN/TAP interfaces' &&
suggest_depends  'dnsmasq' '' '' 'for providing DHCP on virtual networks' &&
suggest_depends   QEMU '' '' "for QEMU (use ${SPELL_COLOR}kvm${DEFAULT_COLOR} for QEMU/KVM) binaries?"

