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:
parent
6b3a72dd45
commit
2201d3d232
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user