]> git.openfabrics.org - ~shefty/libibverbs.git/commit
Fix Valgrind annotations so they can actually be built
authorRoland Dreier <rolandd@cisco.com>
Tue, 3 Jul 2007 18:53:47 +0000 (11:53 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 3 Jul 2007 18:53:47 +0000 (11:53 -0700)
commite72219d2826cc58e197c5742441440468d99897b
tree52895a200fea51c38d6e8df3209f1a515b7475db
parentc80d235603c1ffef520def1fbbb3a0e166d139bf
Fix Valgrind annotations so they can actually be built

The AC_CHECK_HEADER() test for <valgrind/memcheck.h> will never result
in HAVE_VALGRIND_MEMCHECK_H being defined, so ibverbs.h will never
include <valgrind/memcheck.h> and Valgrind annotations will never actually
get built.  Fix this by adding an AC_DEFINE() of HAVE_VALGRIND_MEMCHECK_H
if the header is found.

Pointed out by Jeff Squyres <jsquyres@cisco.com>.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
configure.in