about summary refs log tree commit diff homepage
path: root/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac6
1 files changed, 4 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index f1b2dfc3..c6e59d97 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -498,9 +498,11 @@ AC_CHECK_HEADERS([selinux/selinux.h],
 dnl **************************************************************************
 dnl Test for features
 dnl **************************************************************************
+
+AC_CHECK_HEADERS([malloc/malloc.h])
+AC_CHECK_FUNCS([malloc_zone_statistics])
 AC_SEARCH_LIBS(mallinfo,malloc,
-               AC_DEFINE([HAVE_MALLINFO],[1],[Define if mallinfo() is available on this platform.]),
-               AC_MSG_WARN([mallinfo() was not found - disabling memory usage checking]))
+               AC_DEFINE([HAVE_MALLINFO],[1],[Define if mallinfo() is available on this platform.]))
 
 dnl **************************************************************************
 dnl Find an install of STP