diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-14 07:24:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-14 07:24:17 +0000 |
commit | 368c36ff32b93bf8e29fb7a4ff2c3a10f3aec164 (patch) | |
tree | 558e9e20d32ab2136e614f15beb737e84d494c9e | |
parent | 513a9547f50bda29d4795fc8869ce80c120d8387 (diff) |
add malloc_zone_statistics, remove mstats
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24350 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | autoconf/configure.ac | 2 | ||||
-rw-r--r-- | 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 028872cf9e..981651c9fb 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 17e3be2154..0a9bffa18b 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 <malloc/malloc.h> 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 |