netcdf-c/libnetcdf.settings.in
dmh be329e7a23 Add ability to programmatically
extract info from libnetcdf.settings
API is below.
I have made this API public yet
by adding it to netcdf.h. I will
do that when everyone is agreed on the
proper API.

extern const char* nc_settings(const char* key); /*get value of a specific key */
extern const char** nc_settings_all(); /*get all settings in envv format */
extern void nc_settings_reclaim(); /* reclaim all space and clean up */

Envv format is
{key,value}*,NULL

Also added test: nc_test/tst_settings.c
2014-08-29 14:51:14 -06:00

37 lines
855 B
Plaintext

# NetCDF C Configuration Summary
==============================
# General
-------
NetCDF Version: @PACKAGE_VERSION@
Configured On: @CONFIG_DATE@
Host System: @host_cpu@-@host_vendor@-@host_os@
Build Directory: @abs_top_builddir@
Install Prefix: @prefix@
# Compiling Options
-----------------
C Compiler: @CC_VERSION@
CFLAGS: @CFLAGS@
CPPFLAGS: @CPPFLAGS@
LDFLAGS: @LDFLAGS@
AM_CFLAGS: @AM_CFLAGS@
AM_CPPFLAGS: @AM_CPPFLAGS@
AM_LDFLAGS: @AM_LDFLAGS@
Shared Library: @enable_shared@
Static Library: @enable_static@
Extra libraries: @LIBS@
# Features
--------
NetCDF-2 API: @HAS_NC2@
NetCDF-4 API: @HAS_NC4@
HDF4 Support: @HAS_HDF4@
HDF5 Support: @HAS_HDF5@
PNetCDF Support: @HAS_PNETCDF@
Parallel Support: @HAS_PARALLEL@
DAP Support: @HAS_DAP@
Diskless Support: @HAS_DISKLESS@
MMap Support: @HAS_MMAP@
JNA Support: @HAS_JNA@