diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-16 08:36:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-16 08:36:20 (GMT) |
commit | 657ded5397a440b328236e0e1e575df180e331dd (patch) | |
tree | 5a7a931d6cfe8ea15faf35b6786aee679999d70c /library/dde | |
parent | e04894e55e4000154ecd6467649d596bd5f6c9a9 (diff) | |
download | tcl-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.tcl | 4 |
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 { |