1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

tdb2: add --disable-tdb2

I thought you could --disable-tdb2=false, apparently not!  Thanks
Michael Adam...

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Thu Feb  2 03:43:08 CET 2012 on sn-devel-104
This commit is contained in:
Rusty Russell 2012-02-02 11:36:49 +10:30
parent c892217a12
commit b3fb115a39

View File

@ -24,6 +24,9 @@ def set_options(opt):
opt.add_option('--enable-tdb2',
help=("Use tdb2 API instead of tdb1 [True]"),
action="store_true", dest='BUILD_TDB2', default=True)
opt.add_option('--disable-tdb2',
help=("Use old tdb1 API instead of tdb2"),
action="store_false", dest='BUILD_TDB2')
if opt.IN_LAUNCH_DIR():
opt.add_option('--disable-python',
help=("disable the pytdb module"),