]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup memdebug option on solaris.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 5 Sep 2007 14:07:53 +0000 (14:07 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 5 Sep 2007 14:07:53 +0000 (14:07 +0000)
git-svn-id: file:///svn/unbound/trunk@600 be551aaa-1e26-0410-a405-d3ace91eadb9

configure.ac
doc/Changelog

index f2db4bdaafce053bef4d248aade18908ec478b7e..08fa672bc4f976c04297f312fe9a2d9e0a2a3804 100644 (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
index 3651af37d0712466d59fd052be8df37373183da6..72bdb1facb08e85044a7615d881d043a675a3498 100644 (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