fixup memdebug option on solaris.

git-svn-id: file:///svn/unbound/trunk@600 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2007-09-05 14:07:53 +00:00
parent a404373112
commit 4736eaf80d
2 changed files with 3 additions and 1 deletions

View file

@ -496,6 +496,8 @@ AC_ARG_ENABLE(alloc-checks, AC_HELP_STRING([--enable-alloc-checks],
, )
if test x_$enable_alloc_checks = x_yes; then
AC_DEFINE(UNBOUND_ALLOC_STATS, 1, [use statistics for allocs and frees, for debug use])
else
AC_FUNC_MALLOC
fi
# check to see if libraries are needed for these functions.
@ -504,7 +506,6 @@ AC_CHECK_LIB(nsl, inet_pton)
AC_FUNC_CHOWN
AC_FUNC_FORK
AC_FUNC_MALLOC
AC_TYPE_SIGNAL
AC_FUNC_FSEEKO
AC_SYS_LARGEFILE

View file

@ -13,6 +13,7 @@
zone (for wildcarded zone cuts), and check absence of CNAME bit,
for a nodata proof.
- configure option for memory allocation debugging.
- port configure option for memory allocation to solaris10.
4 September 2007: Wouter
- fixup of Leakage warning when serviced queries processed multiple