samba_dist.DIST_DIRS('.')
-samba_dist.DIST_BLACKLIST('.gitignore .bzrignore source4/selftest/provisions/alpha13')
+samba_dist.DIST_BLACKLIST('.gitignore .bzrignore source4/selftest/provisions/alpha13 source4/selftest/provisions/release-4-0-0/')
# install in /usr/local/samba by default
Options.default_prefix = '/usr/local/samba'
gr = opt.option_group('developer options')
- opt.add_option('--disable-ntdb',
- help=("disable ntdb"),
- action="store_true", dest='disable_ntdb', default=False)
-
opt.tool_options('python') # options for disabling pyc or pyo compilation
# enable options related to building python extensions
conf.find_program('perl', var='PERL', mandatory=True)
conf.find_program('xsltproc', var='XSLTPROC')
- conf.SAMBA_CHECK_PYTHON(mandatory=True)
+ conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2,5,0))
conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)
if sys.platform == 'darwin' and not conf.env['HAVE_ENVIRON_DECL']:
conf.RECURSE('source4/ntvfs/sysdep')
conf.RECURSE('lib/util')
conf.RECURSE('lib/ccan')
- conf.env.disable_ntdb = getattr(Options.options, 'disable_ntdb', False)
- if not Options.options.disable_ntdb:
- conf.RECURSE('lib/ntdb')
- else:
- conf.DEFINE('DISABLE_NTDB', 1)
+ conf.RECURSE('lib/ntdb')
conf.RECURSE('lib/zlib')
conf.RECURSE('lib/util/charset')
conf.RECURSE('source4/auth')