pkgIndex.tcl 532 B

1234567891011121314
  1. # Index file to load the TDBC ODBC package.
  2. if {![package vsatisfies [package provide Tcl] 8.6-]} {
  3. return
  4. }
  5. if {[package vsatisfies [package provide Tcl] 9.0-]} {
  6. package ifneeded tdbc::odbc 1.1.3 \
  7. "[list source [file join $dir tdbcodbc.tcl]]\;\
  8. [list load [file join $dir libtcl9tdbcodbc1.1.3.so] [string totitle tdbcodbc]]"
  9. } else {
  10. package ifneeded tdbc::odbc 1.1.3 \
  11. "[list source [file join $dir tdbcodbc.tcl]]\;\
  12. [list load [file join $dir libtdbcodbc1.1.3.so] [string totitle tdbcodbc]]"
  13. }