tdb2: make --enable-tdb2 the default.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jan 2012 05:29:18 +0000 (15:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jan 2012 07:02:42 +0000 (08:02 +0100)
We still use the tdb1 on-disk format, but we do so via the tdb2 library.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-User: Rusty Russell <rusty@rustcorp.com.au>
Autobuild-Date: Mon Jan 30 08:02:43 CET 2012 on sn-devel-104

lib/tdb2/wscript

index eb5a7614d172e63475940b109883e825798a210b..12115234608cb8109ac09f62756f0b75f9543c46 100644 (file)
@@ -22,8 +22,8 @@ def set_options(opt):
     opt.PRIVATE_EXTENSION_DEFAULT('tdb2', noextension='tdb2')
     opt.RECURSE('lib/replace')
     opt.add_option('--enable-tdb2',
-                   help=("Use tdb2 API instead of tdb1 [False]"),
-                   action="store_true", dest='BUILD_TDB2', default=False)
+                   help=("Use tdb2 API instead of tdb1 [True]"),
+                   action="store_true", dest='BUILD_TDB2', default=True)
     if opt.IN_LAUNCH_DIR():
         opt.add_option('--disable-python',
                        help=("disable the pytdb module"),