From: Rafael L. <lab...@ps...> - 2003-10-09 22:22:35
|
* Joao Cardoso <jc...@us...> [2003-10-09 14:00]: > Update of /cvsroot/plplot/plplot/src > In directory sc8-pr-cvs1:/tmp/cvs-serv22829/src > > Modified Files: > plcore.c plctrl.c > Log Message: > If the current directory is in the build tree, change files search order so > as to load them locally. > > [...] I am very pleased that you finally cvs committed this code. Congratulations for avoiding the use of a global variable (a liked the static variables in plInBuildTree). However, I am just wondering: * Joao Cardoso <jc...@us...> [2003-10-09 14:02]: > Update of /cvsroot/plplot/plplot/include > In directory sc8-pr-cvs1:/tmp/cvs-serv23141/include > > Modified Files: > plConfig.h.in > Log Message: > Create and set BUILD_DIR. Is it really necessary to have the #define BUILD_DIR in plConfig.h? Remember that this file is included in user's programs and I do not see the interest of having BUILD_DIR defined in this case. At any rate, #define BUILD_DIR is already included in config.h, thanks to the call to AC_DEFINE_UNQUOTED in configure.ac. By the way, I think that the same arguments would apply for other #define's included in plConfig.h ( LIB_DIR, DATA_DIR, BIN_DIR, and TCL_DIR). Does anybody object to removing these #define's from plConfig.h.in? -- Rafael |