opt.add_option('--valgrind-log',
help=("where to put the valgrind log"),
action="store", dest='VALGRINDLOG', default=None)
+
if opt.IN_LAUNCH_DIR():
opt.add_option('--disable-python',
help=("disable the pyntdb module"),
help='enable special build farm options',
action='store_true', dest='BUILD_FARM')
+ 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.RECURSE('source4/ntvfs/sysdep')
conf.RECURSE('lib/util')
conf.RECURSE('lib/ccan')
- conf.RECURSE('lib/ntdb')
+ conf.env.disable_ntdb = getattr(Options.options, 'disable_ntdb', False)
+ if not Options.options.disable_ntdb:
+ conf.RECURSE('lib/ntdb')
conf.RECURSE('lib/zlib')
conf.RECURSE('lib/util/charset')
conf.RECURSE('source4/auth')
bld.RECURSE('lib/addns')
bld.RECURSE('lib/ccan')
bld.RECURSE('lib/tdb_compat')
-bld.RECURSE('lib/ntdb')
+if not bld.env.disable_ntdb:
+ bld.RECURSE('lib/ntdb')
bld.RECURSE('lib/ldb')
bld.RECURSE('lib/param')
bld.RECURSE('dynconfig')