Browse Source

configurator: check for valgrind/memcheck.h

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 10 years ago
parent
commit
1b7100ad10
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tools/configurator/configurator.c

+ 2 - 0
tools/configurator/configurator.c

@@ -317,6 +317,8 @@ static struct test tests[] = {
 	  "for(i = 0; i < 0; i++) {};\n"
 	  "return 0;\n",
 	  "-Werror -fopenmp" },
+	{ "HAVE_VALGRIND_MEMCHECK_H", OUTSIDE_MAIN, NULL, NULL,
+	  "#include <valgrind/memcheck.h>\n" },
 };
 
 static char *grab_fd(int fd)