depends e2fsprogs && depends gnutls && depends libcap && depends parse-yapp && depends popt && depends python3 && depends tevent && depends talloc && depends ldb && if [[ "$SAMBA4_BRANCH" == "scm" ]]; then depends git fi && depends -sub 'SSL' ${HTTP_DL_HANDLER} && if [[ "$SAMBA_ADDC" == "y" ]]; then list_remove SAMBA4 '--without-ad-dc' && list_remove SAMBA4 '--without-gpgme' && depends acl "--with-acl-support" && depends gpgme && depends lmdb else list_add SAMBA4 '--without-ad-dc' && list_add SAMBA4 '--without-gpgme' && optional_depends acl \ "--with-acl-support" \ "--without-acl-support" \ "for file system access control lists support" && optional_depends krb5 \ "--with-system-mitkrb5 --without-ad-dc" \ "--without-ad-dc" \ "to use system krb5" fi && if [[ "$SAMBA_AD" == "y" ]]; then depends openldap "--with-ldap --with-ads" else optional_depends openldap \ "--with-ldap" \ "--without-ldap --without-ads" \ "for LDAP support" fi && optional_depends readline "" "" "for readline support" && optional_depends linux-pam \ "--with-pam" \ "--without-pam" \ "To enable PAM authentication" && optional_depends CUPS \ "--enable-cups" \ "--disable-cups" \ "for Samba support in CUPS" && optional_depends SYSTEM-LOGGER \ "--with-syslog" \ "--without-syslog" \ "enables logging though a syslog daemon" optional_depends avahi \ "--enable-avahi" \ "--disable-avahi" \ "for avahi support" && optional_depends sendfile \ "--with-sendfile-support" \ "--without-sendfile-support" \ "for sendfile support" && optional_depends dmapi \ "--with-dmapi" \ "--without-dmapi" \ "for data management API for XFS Filesystem support" && optional_depends jansson \ --with{,out}-json \ "for JSON printer stuff" optional_depends libxslt "" "" "to build man pages and documentation" && if is_depends_enabled $SPELL libxslt; then depends docbook-xsl fi