]> git.ozlabs.org Git - ccan/blobdiff - tools/configurator/configurator.c
configurator: check for valgrind/memcheck.h
[ccan] / 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)