summaryrefslogtreecommitdiffstats
path: root/library/http/pkgIndex.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2001-08-09 01:06:42 (GMT)
commitd7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f (patch)
tree4ea0ef33da47dbebe516c83ac83f355a695d6494 /library/http/pkgIndex.tcl
parent280f05e70aff22b0058a6bbd878e84a12d01dcad (diff)
downloadtcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.zip
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.gz
tcl-d7c342a4ee3392e4a7f62257ef6906bc1c1a3d2f.tar.bz2
Added checks for package dependencies.
Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2, opt 0.4.3, tcltest 2.0.1. [Patch 448931]
Diffstat (limited to 'library/http/pkgIndex.tcl')
-rw-r--r--library/http/pkgIndex.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/http/pkgIndex.tcl b/library/http/pkgIndex.tcl
index 6122042..4186a43 100644
--- a/library/http/pkgIndex.tcl
+++ b/library/http/pkgIndex.tcl
@@ -8,4 +8,5 @@
# script is sourced, the variable $dir must contain the
# full path name of this file's directory.
-package ifneeded http 2.3.1 [list tclPkgSetup $dir http 2.3.1 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister}}}]
+if {![package vsatisfies [package provide Tcl] 8.2]} {return}
+package ifneeded http 2.3.2 [list tclPkgSetup $dir http 2.3.2 {{http.tcl source {::http::config ::http::formatQuery ::http::geturl ::http::reset ::http::wait ::http::register ::http::unregister}}}]