From eb691b7cf177e5dfbd0f626146ab7e281f23bf88 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 4 Nov 2010 01:34:35 +0000 Subject: [PATCH] * configure.in (--with-valgrind): Now this option is default on. You can still explicitly disable this feature by specifying --without-valgrind. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ configure.in | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 33372b3eab..27e9d3bc1a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Nov 4 10:30:40 2010 URABE Shyouhei + + * configure.in (--with-valgrind): Now this option is default on. + You can still explicitly disable this feature by specifying + --without-valgrind. + Thu Nov 4 02:06:16 2010 Yusuke Endoh * cont.c (fiber_t_alloc): raise an error when fiber is going to be diff --git a/configure.in b/configure.in index b85b3421bd..7dd61776b4 100644 --- a/configure.in +++ b/configure.in @@ -1781,6 +1781,8 @@ AC_CHECK_FUNCS(backtrace) AC_ARG_WITH(valgrind, AS_HELP_STRING([--with-valgrind],[enable valgrind memcheck support]), + ruby_cv_with_valgrind=yes,ruby_cv_with_valgrind=no) +AS_IF([test x$ruby_cv_with_valgrind != xno], [AC_CHECK_HEADERS(valgrind/memcheck.h)]) dnl }