~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/valgrind.m4

  • Committer: Lee Bieber
  • Date: 2010-10-21 01:33:55 UTC
  • mfrom: (1864.1.3 build)
  • Revision ID: kalebral@gmail.com-20101021013355-uywuclusdprnf8nl
Merge Brian - Add support for --with-valgrind
Merge Mark - event_observer.h did not declare "class Session;" so it depended on being #include'ed after "session.h".
Merge Andrew - Fix bug #663554: drizzledump is not honoring --destination-database option
Merge Andrew - Fix bug #663812: drizzledump truncation for DOUBLE data type with no preset scale/precision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl  Copyright (C) 2010 Brian Aker
 
2
dnl This file is free software; Brian Aker
 
3
dnl gives unlimited permission to copy and/or distribute it,
 
4
dnl with or without modifications, as long as this notice is preserved.
 
5
 
 
6
AC_DEFUN([WITH_VALGRIND],[
 
7
 
 
8
  AC_ARG_WITH([valgrind],
 
9
    [AS_HELP_STRING([--with-valgrind],
 
10
       [Add additional valgrind code for testing with valgrind.])],
 
11
    [with_valgrind=yes],
 
12
    [with_valgrind=no])
 
13
  AM_CONDITIONAL(HAVE_VALGRIND,[test "x${with_valgrind}" = "xyes"])
 
14
  AS_IF([test "x$with_valgrind" = "xyes"],
 
15
        AC_DEFINE([HAVE_VALGRIND],[1],
 
16
                  [Add additional valgrind code for testing with valgrind.]))
 
17
])