summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2020-06-03 16:06:34 +1200
committerJeremy Allison <jra@samba.org>2020-06-12 22:11:43 +0000
commit6446e86b54ccdc6da397487b850832727cbb69c1 (patch)
treea76edad49c222c9255d72f5ab6c8730fd3336c0f /buildtools/wafsamba
parentbfe4e84bb917e00c8b8d9e6db40527378e8bfb97 (diff)
downloadsamba-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 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index f9eae73ae44..4afee249d33 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -719,6 +719,9 @@ def samba_before_apply_obj_vars(self):
if is_standard_libpath(v, i):
v['LIBPATH'].remove(i)
+# Samba options are mostly on by default (administrators and packagers
+# specify features to remove, not add), which is why default=True
+
def samba_add_onoff_option(opt, option, help=(), dest=None, default=True,
with_name="with", without_name="without"):
if default is None: