autoconf: build in NTDB.
commit5b15d107951d353eb4f055a62cf48a8226e8e6a6
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 11 Apr 2013 07:42:08 +0000 (11 17:12 +0930)
committerJeremy Allison <jra@samba.org>
Fri, 12 Apr 2013 21:59:00 +0000 (12 14:59 -0700)
treeb062fb5f6bc366af747e88f3faa7e7cf12f4febd
parent7a4dd845958f1411daa8031ca242987001ab2f26
autoconf: build in NTDB.

I previously added -DDISABLE_NTDB to FLAGS, but lib/param/util.c
doesn't seem to be compiled with that flag, so it's really not a good
solution.

So instead, compile in ntdb for the autoconf build.  This means:

1) Add -DHAVE_CCAN to cflags.
2) Remove pyntdb from autoconf objects (which is what tdb does)
3) Remove -DDISABLE_NTDB
4) Add ntdb utility objects
5) Link in ntdb everywhere we link in tdb.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/ccan/libccan.m4
lib/ntdb/libntdb.m4
source3/Makefile.in