OSDN Git Service

add malloc_zone_statistics, remove mstats
authorChris Lattner <sabre@nondot.org>
Mon, 14 Nov 2005 07:24:17 +0000 (07:24 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Nov 2005 07:24:17 +0000 (07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24350 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac
include/llvm/Config/config.h.in

index 028872c..981651c 100644 (file)
@@ -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
index 17e3be2..0a9bffa 100644 (file)
 /* 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
 
 /* 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