On 2009-01-29 10:23+0100 Werner Smekal wrote:

> I think the problem is due the lines 109-117 in plplot/bindings/f77/
> CMakeLists.txt
>
> # Set the path and the suffix for the (shared) libraries
> if(CYGWIN)
>   if(BUILD_SHARED_LIBS)
>     set(SHLIB_DIR "${BIN_DIR}")
>   endif(BUILD_SHARED_LIBS)
>   set(VERSION_SUFFIX "-${plplotf77_VERSION}")
> else(CYGWIN)
>   set(VERSION_SUFFIX "")
> endif(CYGWIN)
>
> Here VERSION_SUFFIX is set always for CYGWIN if shared or static, and
> VERSION_SUFFIX is later used in line 184 were the .pc file is created.
> But I don't understand where plplotf77_VERSION is created (can't find
> it in the plplot source tree except in that file) and why this if
> clause is there anyway.

This version information is set in cmake/modules/plplot_version.cmake

I discovered this on Linux using the find command in the top-level of
the source tree:

find -type f |grep -v .svn |xargs grep plplotf77_VERSION

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to