From fb8cf568caf43615f7a06a623209a0fade629a35 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 21 Feb 2012 15:29:06 +1030 Subject: lib/ccan: define HAVE_CCAN. This allows public headers to use CCAN if available, and dummy macros if not (eg. tdb2). Signed-off-by: Rusty Russell --- lib/ccan/wscript | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ccan/wscript b/lib/ccan/wscript index 9daf091e5b..59fe93af8e 100644 --- a/lib/ccan/wscript +++ b/lib/ccan/wscript @@ -3,6 +3,7 @@ import Logs, sys def configure(conf): + conf.DEFINE('HAVE_CCAN', 1) # FIXME: if they don't have -Werror, these will all fail. But they # probably will anyway... conf.CHECK_CODE('int __attribute__((cold)) func(int x) { return x; }', -- cgit