#if  spell_ok  openldap  &&
#    spell_ok  krb5;     then
#  config_query  SAMBA_AD                                                  \
#    "Enable Active Directory Support ?\n(Requires openldap and krb5)"  y
#else
#  config_query  SAMBA_AD                                                  \
#    "Enable Active Directory Support ?\n(Requires openldap and krb5)"  n
#fi

config_query_option  SAMBA4_PTHREADS  'Enable POSIX threads?'  n  \
                     '--with-pthreads'  '--without-pthreads'
