summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 01:05:13 -0600
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:08 +1000
commit2201d3d232f1a6e5e4054469f0897b70becf3ab6 (patch)
tree74930b60d2b4bca9ba2cd6069b1454cab85fbd5f /buildtools
parent6b3a72dd45a1d8ff2aa087764a361a5370f84672 (diff)
downloadsamba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.tar.gz
samba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.tar.bz2
samba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.zip
build: added quote option to conf.DEFINE()
Pair-Programmed-With: Kai Blin <kai@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r--buildtools/wafsamba/samba_autoconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py
index bc888d557d..b2f1d82040 100644
--- a/buildtools/wafsamba/samba_autoconf.py
+++ b/buildtools/wafsamba/samba_autoconf.py
@@ -14,9 +14,9 @@ missing_headers = set()
@runonce
@conf
-def DEFINE(conf, d, v, add_to_cflags=False):
+def DEFINE(conf, d, v, add_to_cflags=False, quote=False):
'''define a config option'''
- conf.define(d, v, quote=False)
+ conf.define(d, v, quote=quote)
if add_to_cflags:
conf.env.append_value('CCDEFINES', d + '=' + str(v))