configurator: check for valgrind/memcheck.h
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2015 01:50:56 +0000 (11:20 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 24 Sep 2015 01:50:56 +0000 (11:20 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
tools/configurator/configurator.c

index 2139bcb2059267e9ebfe098831ee25d94c85fe8f..a590a8d4f947c402b086e90adef3e23414b1da66 100644 (file)
@@ -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)