From 1f07874421d5b0cc4340489b47bff7ef8bd9302e Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Mon, 18 Sep 2017 14:32:20 -0600 Subject: [PATCH] Added --has-cdf5 to nc-config generated by autotools. --- nc-config.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nc-config.in b/nc-config.in index 9e3e57f42..497c55675 100644 --- a/nc-config.in +++ b/nc-config.in @@ -21,8 +21,11 @@ has_hdf4="@HAS_HDF4@" has_pnetcdf="@HAS_PNETCDF@" has_hdf5="@HAS_HDF5@" has_logging="@HAS_LOGGING@" +has_cdf5="@HAS_CDF5@" version="@PACKAGE_NAME@ @PACKAGE_VERSION@" + + has_fortran="no" has_f90="no" has_f03="no" @@ -79,8 +82,9 @@ Available values for OPTION include: --has-logging whether logging is enabled with --enable-logging. --has-pnetcdf whether parallel-netcdf (a.k.a. pnetcdf) was used in build --has-szlib whether szlib is included in build + --has-cdf5 whether cdf5 support is included in build --libs library linking information for netcdf - --prefix Install prefix + --prefix Install prefixx --includedir Include directory --libdir Library directory --version Library version @@ -154,6 +158,7 @@ fi echo " --has-logging-> $has_logging" echo " --has-pnetcdf-> $has_pnetcdf" echo " --has-szlib -> $has_szlib" + echo " --has-cdf5 -> $has_cdf5" echo echo " --prefix -> $prefix" echo " --includedir-> $includedir" @@ -229,6 +234,10 @@ while test $# -gt 0; do echo $has_szlib ;; + --has-cdf5) + echo $has_cdf5 + ;; + --libs) echo $libs ;;