1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

build: added quote option to conf.DEFINE()

Pair-Programmed-With: Kai Blin <kai@samba.org>
This commit is contained in:
Andrew Tridgell 2010-03-26 01:05:13 -06:00
parent 6b3a72dd45
commit 2201d3d232

View File

@ -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))