From: Vince D. <vi...@sa...> - 2002-07-03 16:35:31
|
On Wed, 3 Jul 2002, Alan W. Irwin wrote: > PLPLOT_VERSION is already accessible from tclAPI.c via the plplot/plplotP.h > include which in turn includes plConfig.h. Can you parse out the parts > you need to replace 5.1 and 5.1.0 wherever they occur in tclAPI.c? That > would greatly simplify my life at release time. Ideally tclAPI.c needs both "5.1.0" and "5.1". But plConfig.h only provides "5.1.0" (in PLPLOT_VERSION). I don't know how to write a macro to extract the first bit of that string, and I certainly don't know anything about auto_conf. Perhaps best is to change tclAPI.c so that we use "5.1.0" everywhere. I can easily do that, but extracting "5.1" if it is possible, would be nicer... Vince. |