summaryrefslogtreecommitdiffstats
path: root/library/reg
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-16 08:33:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-16 08:33:13 (GMT)
commitda19d0dd6c320026b45f407302a2d0f55d67777f (patch)
tree19ecb9097ee39ac7b4dd159873af1be0a2802f4f /library/reg
parentadecc7a1e1a45aab0805e6cb440eb3adf09e486a (diff)
parent5dff38707576522b97793ce6ad8024b0f92895bb (diff)
downloadtcl-da19d0dd6c320026b45f407302a2d0f55d67777f.zip
tcl-da19d0dd6c320026b45f407302a2d0f55d67777f.tar.gz
tcl-da19d0dd6c320026b45f407302a2d0f55d67777f.tar.bz2
merge trunk
Diffstat (limited to 'library/reg')
-rwxr-xr-xlibrary/reg/pkgIndex.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/reg/pkgIndex.tcl b/library/reg/pkgIndex.tcl
index f71b09f..55af4b3 100755
--- a/library/reg/pkgIndex.tcl
+++ b/library/reg/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 registry 1.3.0 \
[list load [file join $dir tclreg13g.dll] registry]