summaryrefslogtreecommitdiffstats
path: root/lib/tdb2/wscript
Commit message (Collapse)AuthorAgeFilesLines
* TDB2: Goodbye TDB2, Hello NTDB.Rusty Russell2012-06-191-278/+0
| | | | | | | | | | | This renames everything from tdb2 to ntdb: importantly, we no longer use the tdb_ namespace, so you can link against both ntdb and tdb if you want to. This also enables building of standalone ntdb by the autobuild script. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* TDB2: remove TDB1 compatibility.Rusty Russell2012-06-191-31/+5
| | | | | | | This rips out all the TDB1 compatibility from tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: Only build ccan-failtest when we are in developer modeAndrew Bartlett2012-06-071-28/+36
| | | | | | | | | | | | | | | From: Andrew Bartlett <abartlet@samba.org> This code is incredibly useful, but is only needed in test code and may not be perfectly portable. It has compiled on all systems bar Solaris so far, but rather than make it a requirement to build Samba, just keep it for development. Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 7 18:53:12 CEST 2012 on sn-devel-104
* lib/tdb2: build tests when built at toplevel.Rusty Russell2012-06-071-23/+94
| | | | | | | | | They weren't being built when we were at top-level, because the globs were wrong. Just open-code the test names, which always works. Reported-by: Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: add --valgrind, --valgrind-log options.Rusty Russell2012-03-071-1/+13
| | | | | | | | | | Not used by default, since it slows down testing (on my laptop) from 22 seconds to 2 minutes 30 seconds. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Wed Mar 7 04:57:21 CET 2012 on sn-devel-104
* lib/tdb2: wire up unit tests.Rusty Russell2012-03-071-1/+80
| | | | | | | | | The tests are ccan-style, so the names tell how to link them. This logic is generic, and could be moved to wafsamba, cleaned up, and used elsewhere. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: rename tdb2.pc to tdb.pcRusty Russell2012-02-271-1/+1
| | | | | | | | | The library is called tdb, so the pc file must have the same name. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Feb 27 06:59:58 CET 2012 on sn-devel-104
* lib/tdb2: Convert tdb2 to a standalone libraryAmitay Isaacs2012-02-211-0/+1
| | | | | | | | Adds a Makefile, configure script, and tdb2.pc.in. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/tdb2: Fix wscriptAmitay Isaacs2012-02-211-29/+52
| | | | | | | | Particularly fix the upcoming standalone build. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: add --disable-tdb2Rusty Russell2012-02-021-0/+3
| | | | | | | | | | 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
* tdb2: make --enable-tdb2 the default.Rusty Russell2012-01-301-2/+2
| | | | | | | | | 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
* tdb2: name tools the same as TDB1 tools.Rusty Russell2012-01-301-5/+5
| | | | | | | | Otherwise, when we switch everyone's scripts will break (including our own tests!). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: tools/tdb2backupRusty Russell2012-01-301-0/+4
| | | | | | | Minor changes from tdb/tools/tdbbackup.c. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: change --enable-tdb2-breaks-compat to --enable-tdb2Rusty Russell2011-09-211-2/+2
| | | | | | | | | Since we no longer break compatibility, don't scare people. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Wed Sep 21 09:25:11 CEST 2011 on sn-devel-104
* tdb2: add tdb1 code to build.Rusty Russell2011-09-141-1/+5
| | | | | | | | The following patches integrate it together, but from here on we build it. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* tdb2: tie it into build process if --enable-tdb2-breaks-compatRusty Russell2011-06-201-0/+99
This is simplistic. We need to support making TDB2 a standalone library, but for now, we simply built it in-tree. Once we have tdb1 compatibility in tdb2, we can rename this option to --enable-tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>