diff options
author | Kai Blin <kai@samba.org> | 2010-05-28 15:50:26 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-05-30 23:29:29 +0200 |
commit | 04d251a8476b8cf267667fc108f2f8c213fceb54 (patch) | |
tree | 72e5ec8dae8aa9062678c0c755594bc3598a073f /buildtools | |
parent | 8e2b69ca46739960354b90c6ef843e68bb4e2330 (diff) | |
download | samba-04d251a8476b8cf267667fc108f2f8c213fceb54.tar.gz samba-04d251a8476b8cf267667fc108f2f8c213fceb54.tar.bz2 samba-04d251a8476b8cf267667fc108f2f8c213fceb54.zip |
build: Also replace '-' by '_' when creating header defines
Tridge, please check
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: |