From 368c36ff32b93bf8e29fb7a4ff2c3a10f3aec164 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 14 Nov 2005 07:24:17 +0000 Subject: [PATCH] add malloc_zone_statistics, remove mstats git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24350 91177308-0d34-0410-b5e6-96231b3b80d8 --- autoconf/configure.ac | 2 +- include/llvm/Config/config.h.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 028872cf9e0..981651c9fbf 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -516,7 +516,7 @@ dnl===-----------------------------------------------------------------------=== AC_CHECK_FUNCS([backtrace getcwd getpagesize getrusage gettimeofday ]) AC_CHECK_FUNCS([isatty mkdtemp mkstemp mktemp ]) AC_CHECK_FUNCS([realpath sbrk setrlimit strdup strerror strerror_r ]) -AC_CHECK_FUNCS([strtoll strtoq sysconf mstats ]) +AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ]) AC_C_PRINTF_A AC_FUNC_ALLOCA AC_FUNC_RAND48 diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in index 17e3be2154e..0a9bffa18b0 100644 --- a/include/llvm/Config/config.h.in +++ b/include/llvm/Config/config.h.in @@ -188,6 +188,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_MALLOC_MALLOC_H +/* Define to 1 if you have the `malloc_zone_statistics' function. */ +#undef HAVE_MALLOC_ZONE_STATISTICS + /* Define to 1 if you have the `memcpy' function. */ #undef HAVE_MEMCPY @@ -216,9 +219,6 @@ /* Define if mmap() can map files into memory */ #undef HAVE_MMAP_FILE -/* Define to 1 if you have the `mstats' function. */ -#undef HAVE_MSTATS - /* define if the compiler implements namespaces */ #undef HAVE_NAMESPACES -- 2.34.1