From: Rusty Russell Date: Thu, 24 Sep 2015 01:50:56 +0000 (+0930) Subject: configurator: check for valgrind/memcheck.h X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=1b7100ad101992adeaeb5c4ab85ee9a1b368b842;hp=5eb82f554324f435f73e4c140833d15f9808b5e4 configurator: check for valgrind/memcheck.h Signed-off-by: Rusty Russell --- diff --git a/tools/configurator/configurator.c b/tools/configurator/configurator.c index 2139bcb2..a590a8d4 100644 --- a/tools/configurator/configurator.c +++ b/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 \n" }, }; static char *grab_fd(int fd)