NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: [netcdfgroup] Getting netcdf version

Hello again,

Am Dienstag, 12. Januar 2010 schrieb Ed Hartnett:
> Yes, the new nc-config utility is in the soon-to-be-released version
> 4.1.

Well, yes. Lukily Version 4.1 provides pkg-config, too.
Unfortunately some distributions still provide version 3, so this is not the 
full solution… :-)

> You can also call the nc_inq_libvers function

Uh, this sounds nice. But requires my autotools to compile a test programm to 
determine the version of netcdf and then decide whether to link to libhdf or 
not… Quite inconvenient, isn’t it?

Is there also a possibility to check, whether this is a full fortran-lib or 
just a fortran-api-lib which requires me to link to the c_lib, too?

Thx so much.
C.M.