diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 12:03:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-09-10 12:03:40 (GMT) |
commit | 4dc0eb331451143f9fac2621140d60c8073eb21d (patch) | |
tree | 0fbad030b40dd7e8fc532d97b2f75200c62ea9d1 /library/dde | |
parent | 7f3d79834326c84f710028a5d603ee1a9896d8c7 (diff) | |
download | tcl-4dc0eb331451143f9fac2621140d60c8073eb21d.zip tcl-4dc0eb331451143f9fac2621140d60c8073eb21d.tar.gz tcl-4dc0eb331451143f9fac2621140d60c8073eb21d.tar.bz2 |
Backport some improvements to tm.tcl (mostly comments).
Don't use ::tcl_platform(debug) anymore, since it cannot be thrusted: Better use [::tcl::pkgconfig get debug]
Reduce limits in tests/compile.test (13.2), since apparently it's still too much for some platforms.
Diffstat (limited to 'library/dde')
-rw-r--r-- | library/dde/pkgIndex.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl index 065dc83..bcb5f9c 100644 --- a/library/dde/pkgIndex.tcl +++ b/library/dde/pkgIndex.tcl @@ -1,6 +1,6 @@ -if {![package vsatisfies [package provide Tcl] 8]} return +if {![package vsatisfies [package provide Tcl] 8.5]} return if {[info sharedlibextension] != ".dll"} return -if {[info exists ::tcl_platform(debug)]} { +if {[::tcl::pkgconfig get debug]} { package ifneeded dde 1.4.1 [list load [file join $dir tcldde14g.dll] dde] } else { package ifneeded dde 1.4.1 [list load [file join $dir tcldde14.dll] dde] |