diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-06-21 16:44:55 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-06-21 19:59:57 +0200 |
commit | 7b43053ad6d1ee00895f592e7524c8591894144b (patch) | |
tree | ab59c05c8ea6c5764e793dd5f409812c272e5271 /wscript | |
parent | cbd660d01381465a35dc696b6a135de22f7682e6 (diff) | |
download | samba-7b43053ad6d1ee00895f592e7524c8591894144b.tar.gz samba-7b43053ad6d1ee00895f592e7524c8591894144b.tar.bz2 samba-7b43053ad6d1ee00895f592e7524c8591894144b.zip |
Add --disable-ntdb option for building.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Thu Jun 21 19:59:57 CEST 2012 on sn-devel-104
Diffstat (limited to 'wscript')
-rwxr-xr-x | wscript | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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') |