From aea93cbed83381b9ef63c2b7cbcb2d882ea5168f Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 28 Jan 2011 04:05:23 +0000 Subject: * configure.in (--with-valgrind): Fixed r29683. Now this option is really default on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a22165df5..fb55fb76c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 28 13:04:38 2011 KOSAKI Motohiro + + * configure.in (--with-valgrind): Fixed r29683. Now this option + is really default on. + Fri Jan 28 12:05:48 2011 KOSAKI Motohiro * configure.in: Add #include when struct stat is diff --git a/configure.in b/configure.in index fbd9283561..34af64062f 100644 --- a/configure.in +++ b/configure.in @@ -1836,9 +1836,9 @@ AS_CASE(["$target_os"], 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], + AS_HELP_STRING([--without-valgrind],[disable valgrind memcheck support]), + [], with_valgrind=yes) +AS_IF([test x$with_valgrind != xno], [AC_CHECK_HEADERS(valgrind/memcheck.h)]) dnl } -- cgit v1.2.3