summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl/lib/tdbcodbc1.1.5/pkgIndex.tcl
blob: 48c49c6875d49b4a2b7b93f5cbf8ffe648a506a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.5 \
	    "[list source [file join $dir tdbcodbc.tcl]]\;\
	    [list load [file join $dir tcl9tdbcodbc115.dll] [string totitle tdbcodbc]]"
} else {
    package ifneeded tdbc::odbc 1.1.5 \
	    "[list source [file join $dir tdbcodbc.tcl]]\;\
	    [list load [file join $dir tdbcodbc115.dll] [string totitle tdbcodbc]]"
}