1859.2.14
by Brian Aker
Add support for --with-valgrind |
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 |
||
2221.1.3
by Monty Taylor
Updated pandora-build files to version 0.173 |
6 |
AC_DEFUN([PANDORA_WITH_VALGRIND],[ |
1859.2.14
by Brian Aker
Add support for --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 |
]) |