r141: A number of changes to get things working on FreeBSD and reduce the breakage
commit7b34fbe0f2ef175e5504e34e4f3cdf9a0563970f
authorRichard Sharpe <sharpe@samba.org>
Sat, 10 Apr 2004 06:10:26 +0000 (10 06:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:51:11 +0000 (10 12:51 -0500)
tree04f3a3db7b76e3a8c8f8b73a0557971c278a8225
parent7e42465192e67563f19e6362e243b01406c5e025
r141: A number of changes to get things working on FreeBSD and reduce the breakage
caused by someone recently ...

1. Add configure check HAVE_COMPARISON_FN_T to see if this is defined. I
have not checked this on Linux yet, but will do so soon.

2. Add the definitions of malloc_p, realloc_p etc.

3. Check for LDAP and don't build stuff that depends on LDAP if we don't\
have it.

It currently builds on FreeBSD but there is one warning printed out at the end.
source/configure.in
source/include/includes.h
source/lib/ldb/common/ldb.c
source/lib/ldb/ldb_ldap/ldb_ldap.c
source/lib/ldb/ldb_tdb/ldb_pack.c
source/lib/ldb/ldb_tdb/ldb_search.c
source/lib/ldb/ldb_tdb/ldb_tdb.c