diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-26 01:05:13 -0600 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:08 +1000 |
commit | 2201d3d232f1a6e5e4054469f0897b70becf3ab6 (patch) | |
tree | 74930b60d2b4bca9ba2cd6069b1454cab85fbd5f | |
parent | 6b3a72dd45a1d8ff2aa087764a361a5370f84672 (diff) | |
download | samba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.tar.gz samba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.tar.xz samba-2201d3d232f1a6e5e4054469f0897b70becf3ab6.zip |
build: added quote option to conf.DEFINE()
Pair-Programmed-With: Kai Blin <kai@samba.org>
-rw-r--r-- | buildtools/wafsamba/samba_autoconf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_autoconf.py b/buildtools/wafsamba/samba_autoconf.py index bc888d557d3..b2f1d82040b 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)) |