From 496fde06b2b2da6801afd83d1b097cea27ab3fa2 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Wed, 10 Feb 2021 07:34:56 +1000 Subject: build: some extensions are dep only Extensions like nshelper and jsonencode should only be selected if explicitly enabled or if they are the target of a dependency. So enabling namespace enables nshelper, but --full --without-ext=namespace doesn't. Signed-off-by: Steve Bennett --- auto.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto.def b/auto.def index dd6cd1d..8ab5022 100644 --- a/auto.def +++ b/auto.def @@ -64,11 +64,11 @@ foreach {mod attrs help} { history {} {Tcl access to interactive history} interp {} {Support for child interpreters} json { optional } {JSON decoder} - jsonencode { tcl optional } {JSON encoder} + jsonencode { tcl off } {JSON encoder} load { static } {Load binary extensions at runtime with load or package} mk { cpp off } {Interface to metakit} namespace { static } {Tcl compatible namespace support} - nshelper { tcl optional } {} + nshelper { tcl off } {} oo { tcl } {Object Oriented class support} pack {} {Low level binary pack and unpack} package { static } {Package management with the package command} -- cgit v1.1