From 7b43053ad6d1ee00895f592e7524c8591894144b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 21 Jun 2012 16:44:55 +0200 Subject: Add --disable-ntdb option for building. Autobuild-User(master): Jelmer Vernooij Autobuild-Date(master): Thu Jun 21 19:59:57 CEST 2012 on sn-devel-104 --- wscript | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 9caa673feda..e77d35a07af 100755 --- a/wscript +++ b/wscript @@ -61,6 +61,11 @@ def set_options(opt): help='enable special build farm options', action='store_true', dest='BUILD_FARM') + opt.add_option('--disable-ntdb', + help=("disable ntdb"), + action="store_true", dest='disable_ntdb', default=False) + + opt.tool_options('python') # options for disabling pyc or pyo compilation # enable options related to building python extensions @@ -124,7 +129,9 @@ def configure(conf): conf.RECURSE('source4/ntvfs/sysdep') conf.RECURSE('lib/util') conf.RECURSE('lib/ccan') - conf.RECURSE('lib/ntdb') + conf.env.disable_ntdb = getattr(Options.options, 'disable_ntdb', False) + if not Options.options.disable_ntdb: + conf.RECURSE('lib/ntdb') conf.RECURSE('lib/zlib') conf.RECURSE('lib/util/charset') conf.RECURSE('source4/auth') -- cgit