git.samba.org
/
ddiss
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0528cb5
)
lib/ccan: define HAVE_CCAN.
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 21 Feb 2012 04:59:06 +0000
(15:29 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 21 Feb 2012 04:59:06 +0000
(15:29 +1030)
This allows public headers to use CCAN if available, and dummy macros
if not (eg. tdb2).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/ccan/wscript
patch
|
blob
|
history
diff --git
a/lib/ccan/wscript
b/lib/ccan/wscript
index 9daf091e5b6ded5340178ae4971cae012c26850f..59fe93af8eb26c1c7fd486f568e14a77324020f2 100644
(file)
--- 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; }',