[ofa-general] [PATCH] librdmacm 1/2: add valgrind support to auto-tools configuration file
Sean Hefty
mshefty at ichips.intel.com
Wed Aug 15 16:30:28 PDT 2007
> +if test x$with_valgrind = x || test x$with_valgrind = xno; then
> + want_valgrind=no
> + AC_DEFINE([NVALGRIND], 1, [Define to 1 to disable Valgrind annotations.])
> +AC_CHECK_HEADER(valgrind/memcheck.h,
> + [AC_DEFINE(HAVE_VALGRIND_MEMCHECK_H, 1,
> + [Define to 1 if you have the <valgrind/memcheck.h> header file.])],
What's the difference between including memcheck.h with NVALGRIND=1,
versus not including it if valgrind support is not enabled.
- Sean
More information about the general
mailing list