summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-20 23:05:21 +0200
committerKai Blin <kai@samba.org>2010-05-21 00:15:52 +0200
commit136ea7b91d0a712bf78ee325f06ab2d75f712507 (patch)
treeb4861084f492b039abcf7f221e062dffa1bef76e /source3/wscript
parentc926acf7f1b49191b18f04a9caf484d8ef1033b9 (diff)
downloadsamba-136ea7b91d0a712bf78ee325f06ab2d75f712507.tar.gz
samba-136ea7b91d0a712bf78ee325f06ab2d75f712507.tar.bz2
samba-136ea7b91d0a712bf78ee325f06ab2d75f712507.zip
s3-waf: Actually make --with/--without-swat work
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index a50510739d..a58c524cb5 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -62,6 +62,9 @@ def configure(conf):
if Options.options.developer:
conf.ADD_CFLAGS('-DDEVELOPER -DDEBUG_PASSWORD')
+ if Options.options.with_swat:
+ conf.env['build_swat'] = True
+
# set a limit on recursing in the waf preprocessor
conf.env.preprocessor_recursion_limit = 10