summaryrefslogtreecommitdiffstats
path: root/tcl8.6/pkgs/tdbc1.0.6/pkgIndex.tcl.in
blob: d95e958746d9c12ca93a562a79b217366c4cc657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Index file to load the TDBC package.

# Make sure that TDBC is running in a compatible version of Tcl, and
# that TclOO is available.

if {[catch {package present Tcl @TCL_VERSION_REQ@}]} {
    return
}
package ifneeded @PACKAGE_NAME@ @PACKAGE_VERSION@ \
    "package require TclOO @TCLOO_VERSION_REQ@-;\
    [list load [file join $dir @PKG_LIB_FILE@] @PACKAGE_NAME@]\;\
    [list source [file join $dir @PACKAGE_NAME@.tcl]]"