From 4736eaf80d54eee1f14c9d66f6ed999a7cfaee86 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 5 Sep 2007 14:07:53 +0000 Subject: [PATCH] fixup memdebug option on solaris. git-svn-id: file:///svn/unbound/trunk@600 be551aaa-1e26-0410-a405-d3ace91eadb9 --- configure.ac | 3 ++- doc/Changelog | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2