Kouhei Sutou
null+****@clear*****
Thu Oct 4 11:04:06 JST 2012
Kouhei Sutou 2012-03-10 20:43:21 +0900 (Sat, 10 Mar 2012) New Revision: a44276ec34719e0a1921141cebb3773e45b407cd https://github.com/mroonga/mroonga/commit/a44276ec34719e0a1921141cebb3773e45b407cd Log: Add --with-valgrind option for MySQL that enables valgrind support Modified files: configure.ac Modified: configure.ac (+9 -0) =================================================================== --- configure.ac 2012-03-09 21:44:27 +0900 (68edf80) +++ configure.ac 2012-03-10 20:43:21 +0900 (68b0cd7) @@ -181,6 +181,15 @@ else CXXFLAGS="$OPTIMIZE_CXXFLAGS $CXXFLAGS" fi +AC_ARG_WITH(valgrind, + [AS_HELP_STRING([--with-valgrind], [Use valgrind. [default=no]])], + [with_valgrind="$withval"], + [with_valgrind="no"]) +if test "$with_debug" != "no"; then + CFLAGS="-DHAVE_valgrind $CFLAGS" + CXXFLAGS="-DHAVE_valgrind $CXXFLAGS" +fi + CONFIG_OPTION_PLUGINS if test "$standalone_build" = "yes"; then CONFIG_OPTION_MYSQL -------------- next part -------------- HTML����������������������������...Download