depends  gnutls    &&
depends  libxml2   &&
depends  readline  &&
depends  curl      &&
depends  glib2     &&
depends  gnutls    &&
depends  libpciaccess &&
depends  yajl      &&

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                               \
                  '--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'  '' '' 'Python bindings' &&

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

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

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

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

optional_depends  'libselinux'  \
                  '--with-selinux'  \
                  '--without-selinux'  \
                  'for Security Enhanced Linux (SELinux) support'  &&

optional_depends  'fuse'  \
                  '--with-fuse'  \
                  '--without-fuse'  \
                  'for FUSE filesystem support for lxc'  &&

suggest_depends  -sub 'NMAP_NCAT NMAP_NC_SYMLINK' nmap '' '' '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?" &&
suggest_depends  'ebtables' '' '' 'for firewall/NAT support'
