aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-04 01:34:35 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-11-04 01:34:35 +0000
commiteb691b7cf177e5dfbd0f626146ab7e281f23bf88 (patch)
treede24fddb9df305c8ec3fb7b8f70a72057c13db71
parentd433ec574a3e5afb2c4a35c888ff9b19d15eda3c (diff)
downloadruby-eb691b7cf177e5dfbd0f626146ab7e281f23bf88.tar.gz
* 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
-rw-r--r--ChangeLog6
-rw-r--r--configure.in2
2 files changed, 8 insertions, 0 deletions
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 <shyouhei@ruby-lang.org>
+
+ * 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 <mame@tsg.ne.jp>
* 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 }