aboutsummaryrefslogtreecommitdiff
path: root/autosetup
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-12-09 14:23:46 +1000
committerSteve Bennett <steveb@workware.net.au>2011-12-12 13:44:01 +1000
commit3f3bc624feab8f7772147d45a43ee29cac0c95c8 (patch)
tree7235206b6893251d6c2475704e36592d2231ad57 /autosetup
parentbece93a6de3f259385ccf425da0ec53a74d6cf38 (diff)
downloadjimtcl-3f3bc624feab8f7772147d45a43ee29cac0c95c8.zip
jimtcl-3f3bc624feab8f7772147d45a43ee29cac0c95c8.tar.gz
jimtcl-3f3bc624feab8f7772147d45a43ee29cac0c95c8.tar.bz2
Enable more extensions by default
For a better "out-of-the-box" experience, most extensions such as binary, tree and tclprefix are enabled by default. Also jim-regexp is enabled by default for better Tcl compatibility. It is still possible to disable any of these with --without-ext=... and --disable-jim-regexp Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'autosetup')
-rw-r--r--autosetup/local.tcl8
1 files changed, 2 insertions, 6 deletions
diff --git a/autosetup/local.tcl b/autosetup/local.tcl
index 970a20c..36aff86 100644
--- a/autosetup/local.tcl
+++ b/autosetup/local.tcl
@@ -146,17 +146,13 @@ proc check-extensions {} {
# Now work out the default status. We have.
# normal case, include !optional if possible
# --without=default, don't include optional
- # --full, include both !optional and full
if {$withinfo(nodefault)} {
lappend withinfo(maybe) stdlib
} else {
foreach i $extlist {
- if {[ext-has $i optional]} {
- if {!$withinfo(full) || ![ext-has $i full]} {
- continue
- }
+ if {![ext-has $i optional]} {
+ lappend withinfo(maybe) $i
}
- lappend withinfo(maybe) $i
}
}