summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-02-02 11:36:49 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-02-02 03:43:08 +0100
commitb3fb115a3932423267022152a04fa5cfcd059239 (patch)
treeb006067815433f3f67eaaba10e61725d47ea7c11 /lib
parentc892217a1236a5fde9072d726605e2e1b610a160 (diff)
downloadsamba-b3fb115a3932423267022152a04fa5cfcd059239.tar.gz
samba-b3fb115a3932423267022152a04fa5cfcd059239.tar.bz2
samba-b3fb115a3932423267022152a04fa5cfcd059239.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb2/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tdb2/wscript b/lib/tdb2/wscript
index 1211523460..e4fb62bd2a 100644
--- a/lib/tdb2/wscript
+++ b/lib/tdb2/wscript
@@ -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"),