|
From: Donald G P. <dg...@ni...> - 2005-01-21 18:06:51
|
> Not sure of the best way forward - perhaps just "package require Tk" on
> OSX before invoking [tk windowingsystem] ?
My preference would be an index script that looks like this:
if {![package vsatisfies [package provide Tcl] 8.5]} {return}
if {[catch {package present Tk 8.5}] != 0} {return}
if {[tk windowingsystem] ne "x11"} {return}
package ifneeded Tile 0.5 [list load [file join $dir libtile.so]]
| Don Porter Mathematical and Computational Sciences Division |
| don...@ni... Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
|