From b2431163fccb996b390acbfd65d29d39f92b4679 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Fri, 30 Apr 2010 14:21:28 +0200 Subject: s3-waf: replace all - with _ in the configuration option names --- buildtools/wafsamba/samba3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools/wafsamba/samba3.py') diff --git a/buildtools/wafsamba/samba3.py b/buildtools/wafsamba/samba3.py index 9f9bc09cbc..af8ddf7106 100644 --- a/buildtools/wafsamba/samba3.py +++ b/buildtools/wafsamba/samba3.py @@ -9,7 +9,7 @@ def SAMBA3_ADD_OPTION(opt, option, help=(), dest=None, default=True, if help == (): help = ("Build with %s support" % option) if dest is None: - dest = "with_%s" % option + dest = "with_%s" % option.replace('-', '_') with_val = "--%s-%s" % (with_name, option) without_val = "--%s-%s" % (without_name, option) -- cgit