mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-24 22:03:07 +00:00
Remove Valgrind support.
This commit is contained in:
30
configure.ac
30
configure.ac
@@ -988,35 +988,6 @@ if test "x$enable_utrace" = "x1" ; then
|
||||
fi
|
||||
AC_SUBST([enable_utrace])
|
||||
|
||||
dnl Support Valgrind by default.
|
||||
AC_ARG_ENABLE([valgrind],
|
||||
[AS_HELP_STRING([--disable-valgrind], [Disable support for Valgrind])],
|
||||
[if test "x$enable_valgrind" = "xno" ; then
|
||||
enable_valgrind="0"
|
||||
else
|
||||
enable_valgrind="1"
|
||||
fi
|
||||
],
|
||||
[enable_valgrind="1"]
|
||||
)
|
||||
if test "x$enable_valgrind" = "x1" ; then
|
||||
JE_COMPILABLE([valgrind], [
|
||||
#include <valgrind/valgrind.h>
|
||||
#include <valgrind/memcheck.h>
|
||||
|
||||
#if !defined(VALGRIND_RESIZEINPLACE_BLOCK)
|
||||
# error "Incompatible Valgrind version"
|
||||
#endif
|
||||
], [], [je_cv_valgrind])
|
||||
if test "x${je_cv_valgrind}" = "xno" ; then
|
||||
enable_valgrind="0"
|
||||
fi
|
||||
if test "x$enable_valgrind" = "x1" ; then
|
||||
AC_DEFINE([JEMALLOC_VALGRIND], [ ])
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([enable_valgrind])
|
||||
|
||||
dnl Do not support the xmalloc option by default.
|
||||
AC_ARG_ENABLE([xmalloc],
|
||||
[AS_HELP_STRING([--enable-xmalloc], [Support xmalloc option])],
|
||||
@@ -1782,7 +1753,6 @@ AC_MSG_RESULT([prof-gcc : ${enable_prof_gcc}])
|
||||
AC_MSG_RESULT([tcache : ${enable_tcache}])
|
||||
AC_MSG_RESULT([fill : ${enable_fill}])
|
||||
AC_MSG_RESULT([utrace : ${enable_utrace}])
|
||||
AC_MSG_RESULT([valgrind : ${enable_valgrind}])
|
||||
AC_MSG_RESULT([xmalloc : ${enable_xmalloc}])
|
||||
AC_MSG_RESULT([munmap : ${enable_munmap}])
|
||||
AC_MSG_RESULT([lazy_lock : ${enable_lazy_lock}])
|
||||
|
||||
Reference in New Issue
Block a user