# Tcl package index file, version 1.1 proc LoadToltcl { version dir } { global tcl_platform set suffix [info sharedlibextension] if {$tcl_platform(platform) eq "unix"} { set name libtoltcl${version}[info sharedlibextension] } else { set name toltcl.dll } load [file join $dir $name] Toltcl } package ifneeded Toltcl @PACKAGE_VERSION@ \ [ string map [list %d $dir] { LoadToltcl @PACKAGE_VERSION@ %d source [ file join %d toltcl.tcl ] } ]