15 lines
568 B
Tcl
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@]]"
|
||
|
}
|