This commit is contained in:
ton
2023-10-05 01:58:42 +07:00
parent 0642343758
commit 6b7a8a3482
5452 changed files with 3 additions and 919217 deletions

View File

@@ -1,26 +0,0 @@
# -*- tcl -*-
# Tcl package index file, version 1.1
#
# Make sure that TDBC is running in a compatible version of Tcl, and
# that TclOO is available.
if {![package vsatisfies [package provide Tcl] 8.6-]} {
return
}
apply {{dir} {
set libraryfile [file join $dir tdbc.tcl]
if {![file exists $libraryfile] && [info exists ::env(TDBC_LIBRARY)]} {
set libraryfile [file join $::env(TDBC_LIBRARY) tdbc.tcl]
}
if {[package vsatisfies [package provide Tcl] 9.0-]} {
package ifneeded tdbc 1.1.5 \
"package require TclOO;\
[list load [file join $dir tcl9tdbc115t.dll] [string totitle tdbc]]\;\
[list source $libraryfile]"
} else {
package ifneeded tdbc 1.1.5 \
"package require TclOO;\
[list load [file join $dir tdbc115t.dll] [string totitle tdbc]]\;\
[list source $libraryfile]"
}
}} $dir