source3: explicitly disable NTDB support.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 04:29:42 +0000 (14:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 20 Feb 2013 04:31:19 +0000 (05:31 +0100)
The next patch make dbwrap_local_open() call the ntdb backend for ntdb
files, but we don't want to add ntdb support to the old autoconf
build.  It's cleaner to use the existing DISABLE_NTDB flag rather than
test for _SAMBA_BUILD_ in dbwrap_local_open.c.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/Makefile.in

index e27875f6acff926fa9ac8fd983fbdcb18845d5ae..90f12b741d664572fff28c3a82d75123e17a55d7 100644 (file)
@@ -179,6 +179,7 @@ FLAGS = -I. \
        -I$(srcdir)/lib \
        -I.. \
        -I./../lib/ldb/include \
+       -DDISABLE_NTDB \
        -D_SAMBA_BUILD_=3
 
 PATH_FLAGS = -DSMB_PASSWD_FILE=\"$(SMB_PASSWD_FILE)\" \