# SWAT removed in 4.3
list_remove SAMBA4 '--without-swat'  &&
list_remove SAMBA4 '--with-swat'  &&
# dnsupdate option removed in 4.15
list_remove SAMBA4 '--with-dnsupdate' &&
list_remove SAMBA4 '--without-dnsupdate' &&

config_query SAMBA_AD "Enable Active Directory Support?" n
config_query SAMBA_ADDC "Enable Active Directory Domain Controller support?" n

config_query_option SAMBA4 "Build with winbind support (allows Windows NT domain users to appear as UNIX users?" y "--with-winbind" "--without-winbind" 
config_query_option SAMBA4 "Enable quotas support?" y "--with-quotas" "--without-quotas"
config_query_option SAMBA4 "Build with utmp support?" y "--with-utmp" "--without-utmp"
config_query_option SAMBA4 "Build with automount support?" y "--with-automount" "--without-automount"
