From: <jc...@fe...> - 2003-02-20 18:47:59
|
On Thursday 20 February 2003 16:00, Rafael Laboissiere wrote: | [ Moving to plplot-devel. ] | | * Jo=E3o 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? As I say above, the tk special case makes me believe that other similar=20 situations (tkwin?) can appear, creating yet another special case. I=20 don't like more than one special case :) I also don't like to have a global variable, even if only one -- aside=20 from plsc in plcore.c, of course. At last, Alan has been my only interlocutor in this issue, and he does=20 not seems sensible to this "make install" problem. Joao |