diff --git a/configure.ac b/configure.ac index f2db4bdaa..08fa672bc 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/doc/Changelog b/doc/Changelog index 3651af37d..72bdb1fac 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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