diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-06-03 16:06:34 +1200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-06-12 22:11:43 +0000 |
commit | 6446e86b54ccdc6da397487b850832727cbb69c1 (patch) | |
tree | a76edad49c222c9255d72f5ab6c8730fd3336c0f /wscript | |
parent | bfe4e84bb917e00c8b8d9e6db40527378e8bfb97 (diff) | |
download | samba-6446e86b54ccdc6da397487b850832727cbb69c1.tar.gz |
build: Put the note from the bottom of the old BUILD_SYSTEMS.txt somewhere useful
This statement on how we handle --with options is best placed near where
the options are set, so developers see it when trying to choose the
correct thing to do.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -47,6 +47,25 @@ def options(opt): opt.RECURSE('lib/crypto') opt.RECURSE('ctdb') +# Optional Libraries +# ------------------ +# +# Most of the calls to opt.add_option() use default=True for the --with case +# +# To assist users and distributors to build Samba with the full feature +# set, the build system will abort if our dependent libraries and their +# header files are not found on the target system. This will mean for +# example, that xattr, acl and ldap headers must be installed for the +# default build to complete. The configure system will check for these +# headers, and the error message will indicate the option (such as +# --without-acl-support) that can be specified to skip this requirement. +# +# This will assist users and in particular distributors in building fully +# functional packages, while allowing those on systems truly without these +# facilities to continue to build Samba after careful consideration. +# +# It also ensures our container image generation in bootstrap/ is correct +# as otherwise a missing package there would just silently work opt.samba_add_onoff_option('pthreadpool', with_name="enable", without_name="disable", default=True) |