aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoconf/configure.ac2
-rw-r--r--include/llvm/Config/config.h.in6
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