diff options
author | Ralph Boehme <rb@sernet.de> | 2014-03-27 16:37:18 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-04-08 19:26:13 +0200 |
commit | 85041c88d8c2755448d3d659ca7261c4ebf1ec29 (patch) | |
tree | 22d90abf7533d64a77dd8321f40205991f88d973 /buildtools/wafsamba | |
parent | 9d91f01b7be7c2bae9799d1d34fb75f8cdf23290 (diff) | |
download | samba-85041c88d8c2755448d3d659ca7261c4ebf1ec29.tar.gz samba-85041c88d8c2755448d3d659ca7261c4ebf1ec29.tar.xz samba-85041c88d8c2755448d3d659ca7261c4ebf1ec29.zip |
wafsamba: replace dots in library names
Certain libraries use a version number with a dot in the library name,
eg libtracker-sparql-0.16. The dot is passed to the HAVE_LIBXXX macro
but dots aren't allowed in C macros, compiler diagnostic:
warning: missing whitespace after the macro name
Signed-off-by: Ralph Boehme <rb@sernet.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index 316aeda547c..59d9e791bde 100644 --- a/buildtools/wafsamba/samba_autoconf.py +++ b/buildtools/wafsamba/samba_autoconf.py @@ -567,7 +567,7 @@ int foo() if set_target: SET_TARGET_TYPE(conf, lib, 'EMPTY') else: - conf.define('HAVE_LIB%s' % lib.upper().replace('-','_'), 1) + conf.define('HAVE_LIB%s' % lib.upper().replace('-','_').replace('.','_'), 1) conf.env['LIB_' + lib.upper()] = lib if set_target: conf.SET_TARGET_TYPE(lib, 'SYSLIB') |