From: Rafael L. <lab...@ps...> - 2003-02-20 16:13:09
|
[ Moving to plplot-devel. ] * João Cardoso <jc...@fe...> [2003-02-20 15:40]: > In my sources, I use a PLplot global variable called build_tree that > says if the program being run was invoked inside the build tree(*); if > it was , then the path of the searched file in the build tree is used, > else the usual search path is used. This works fine for most drivers, > fonts and map files. > The tk driver is an exception, as it needs to find plserver, and tcl/tk > also needs its auto_path to be setup; in my sources this is also > working fine. > However, I don't like the (tk) solution, as it is not general. > There is also the problem of having a global variable, build_tree, which > is ugly. If your solution works and does not interfere with the normal mode of operation why don't you commit the changes? -- Rafael |