Navigation Menu

Skip to content

Commit

Permalink
Add --with-valgrind option for MySQL that enables valgrind support
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 10, 2012
1 parent 8b3aefb commit a44276e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure.ac
Expand Up @@ -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
Expand Down

0 comments on commit a44276e

Please sign in to comment.