diff options
Diffstat (limited to 'Master/tlpkg/tltcl/lib/tdbcodbc1.1.3/pkgIndex.tcl')
-rw-r--r-- | Master/tlpkg/tltcl/lib/tdbcodbc1.1.3/pkgIndex.tcl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/tlpkg/tltcl/lib/tdbcodbc1.1.3/pkgIndex.tcl b/Master/tlpkg/tltcl/lib/tdbcodbc1.1.3/pkgIndex.tcl new file mode 100644 index 00000000000..f672dd7a208 --- /dev/null +++ b/Master/tlpkg/tltcl/lib/tdbcodbc1.1.3/pkgIndex.tcl @@ -0,0 +1,14 @@ +# Index file to load the TDBC ODBC package. + +if {![package vsatisfies [package provide Tcl] 8.6-]} { + return +} +if {[package vsatisfies [package provide Tcl] 9.0-]} { + package ifneeded tdbc::odbc 1.1.3 \ + "[list source [file join $dir tdbcodbc.tcl]]\;\ + [list load [file join $dir tcl9tdbcodbc113.dll] [string totitle tdbcodbc]]" +} else { + package ifneeded tdbc::odbc 1.1.3 \ + "[list source [file join $dir tdbcodbc.tcl]]\;\ + [list load [file join $dir tdbcodbc113.dll] [string totitle tdbcodbc]]" +} |