Check for dmalloc at the end of the configure
commit16f5aedea0cd05113b5fbed06e140d7fedbad095
authorTimur I. Bakeyev <timur@com.bat.ru>
Sun, 7 Jun 2009 12:50:15 +0000 (7 12:50 +0000)
committerStefan Metzmacher <metze@samba.org>
Mon, 8 Jun 2009 11:20:52 +0000 (8 13:20 +0200)
tree1fa32275d604e1cf866e76aa39a0232bd00ec87a
parent40178dd81e829878bbc7dcbb51184f747421e84b
Check for dmalloc at the end of the configure

Enabling dmalloc in Samba3 build leads to the wrong detection of the
strndup() function - there isn't one in FreeBSD prior to 7.2, but
dmalloc defines it, so, farther tests with -ldmalloc added wrongly
find it. the cheapest fix is to move dmalloc detection and inclusion
to the bottom of configure, so it can't affect detection of the system
capabilities.

Here is the patch.

With regards,
Timur Bakeyev.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/configure.in