summaryrefslogtreecommitdiffstats
path: root/library/dde
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-16 08:36:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-16 08:36:20 (GMT)
commit657ded5397a440b328236e0e1e575df180e331dd (patch)
tree5a7a931d6cfe8ea15faf35b6786aee679999d70c /library/dde
parente04894e55e4000154ecd6467649d596bd5f6c9a9 (diff)
downloadtcl-657ded5397a440b328236e0e1e575df180e331dd.zip
tcl-657ded5397a440b328236e0e1e575df180e331dd.tar.gz
tcl-657ded5397a440b328236e0e1e575df180e331dd.tar.bz2
make dde 1.4 loadlable when ::tcl::pkgconfig is available
Diffstat (limited to 'library/dde')
-rw-r--r--library/dde/pkgIndex.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/dde/pkgIndex.tcl b/library/dde/pkgIndex.tcl
index fef4f24..4cf73d0 100644
--- a/library/dde/pkgIndex.tcl
+++ b/library/dde/pkgIndex.tcl
@@ -1,5 +1,5 @@
-if {![package vsatisfies [package provide Tcl] 8.5]} return
-if {[info sharedlibextension] ne ".dll"} return
+if {([info commands ::tcl::pkgconfig] eq "")
+ || ([info sharedlibextension] ne ".dll")} return
if {[::tcl::pkgconfig get debug]} {
package ifneeded dde 1.4.0 [list load [file join $dir tcldde14g.dll] dde]
} else {