From f242a31a43a0ff2d0be84553aca5e159aa138905 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 30 Apr 2010 14:22:06 +0200 Subject: [PATCH] s3-waf: note that the options are broken --- buildtools/wafsamba/samba3.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index af8ddf71061..5fa4c0fa74c 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -14,6 +14,8 @@ def SAMBA3_ADD_OPTION(opt, option, help=(), dest=None, default=True, with_val = "--%s-%s" % (with_name, option) without_val = "--%s-%s" % (without_name, option) + #FIXME: This is broken and will always default to "default" no matter if + # --with or --without is chosen. opt.add_option(with_val, help=help, action="store_true", dest=dest, default=default) opt.add_option(without_val, help=SUPPRESS_HELP, action="store_false", -- 2.11.4.GIT