1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-30 06:50:24 +03:00

waf: Do not disable the ntvfs fileserver when we have MIT DC build

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andreas Schneider 2015-12-04 08:12:03 +01:00 committed by Andreas Schneider
parent eaaf5ce66e
commit 6d19a66cf8

View File

@ -190,17 +190,15 @@ def configure(conf):
if Options.options.with_pam:
conf.RECURSE('lib/pam_wrapper')
if Options.options.with_ntvfs_fileserver != False:
if not (Options.options.without_ad_dc or Options.options.with_system_mitkrb5):
if not (Options.options.without_ad_dc):
conf.DEFINE('WITH_NTVFS_FILESERVER', 1)
if Options.options.with_ntvfs_fileserver == False:
if not (Options.options.without_ad_dc or Options.options.with_system_mitkrb5):
if not (Options.options.without_ad_dc):
raise Utils.WafError('--without-ntvfs-fileserver conflicts with --enable-selftest while building the AD DC')
if Options.options.with_ntvfs_fileserver == True:
if Options.options.without_ad_dc:
raise Utils.WafError('--with-ntvfs-fileserver conflicts with --without-ad-dc')
if Options.options.with_system_mitkrb5:
raise Utils.WafError('--with-ntvfs-fileserver conflicts with --with-system-mitkrb5')
conf.DEFINE('WITH_NTVFS_FILESERVER', 1)
if Options.options.with_pthreadpool: