git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e2b69c
)
build: Also replace '-' by '_' when creating header defines
author
Kai Blin
<kai@samba.org>
Fri, 28 May 2010 13:50:26 +0000
(15:50 +0200)
committer
Kai Blin
<kai@samba.org>
Sun, 30 May 2010 21:29:29 +0000
(23:29 +0200)
Tridge, please check
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index 743f420d5d4ea13fae9c9afab38f5c955aed5795..3551e0263b293c4d0465a355cf9076be617775bd 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-84,6
+84,7
@@
def CHECK_HEADER(conf, h, add_headers=False, lib=None):
return False
d = h.upper().replace('/', '_')
d = d.replace('.', '_')
+ d = d.replace('-', '_')
d = 'HAVE_%s' % d
if CONFIG_SET(conf, d):
if add_headers: