Files
cpython-source-deps/pkgs/tdbcodbc1.1.3/pkgIndex.tcl.in
2021-11-08 17:30:58 +00:00

15 lines
568 B
Tcl

# 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 @PACKAGE_VERSION@ \
"[list source [file join $dir @PACKAGE_NAME@.tcl]]\;\
[list load [file join $dir @PKG_LIB_FILE9@] [string totitle @PACKAGE_NAME@]]"
} else {
package ifneeded tdbc::odbc @PACKAGE_VERSION@ \
"[list source [file join $dir @PACKAGE_NAME@.tcl]]\;\
[list load [file join $dir @PKG_LIB_FILE8@] [string totitle @PACKAGE_NAME@]]"
}