pandora_with_valgrind.m4 661 B

1234567891011121314151617
  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. AC_DEFUN([PANDORA_WITH_VALGRIND],[
  6. AC_ARG_WITH([valgrind],
  7. [AS_HELP_STRING([--with-valgrind],
  8. [Add additional valgrind code for testing with valgrind.])],
  9. [with_valgrind=yes],
  10. [with_valgrind=no])
  11. AM_CONDITIONAL(HAVE_VALGRIND,[test "x${with_valgrind}" = "xyes"])
  12. AS_IF([test "x$with_valgrind" = "xyes"],
  13. AC_DEFINE([HAVE_VALGRIND],[1],
  14. [Add additional valgrind code for testing with valgrind.]))
  15. ])