From 04d251a8476b8cf267667fc108f2f8c213fceb54 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 28 May 2010 15:50:26 +0200 Subject: build: Also replace '-' by '_' when creating header defines Tridge, please check --- buildtools/wafsamba/samba_autoconf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 743f420d5d..3551e0263b 100644 --- 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: -- cgit