git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5976791
)
wafsamba: add CONFIG_RESET()
author
Stefan Metzmacher
<metze@samba.org>
Tue, 8 Oct 2013 10:10:54 +0000
(12:10 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 24 Mar 2014 16:09:10 +0000
(17:09 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index e14f9cd321e789f4145be53496aaffeefe41e00f..e726536eb4e993c4b284ae4d19c4efc0f1de034f 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-495,6
+495,14
@@
def CONFIG_SET(conf, option):
if v == ():
return False
return True
+
+@conf
+def CONFIG_RESET(conf, option):
+ if option not in conf.env:
+ return
+ del conf.env[option]
+
+Build.BuildContext.CONFIG_RESET = CONFIG_RESET
Build.BuildContext.CONFIG_SET = CONFIG_SET
Build.BuildContext.CONFIG_GET = CONFIG_GET