diff --git a/configure.ac b/configure.ac index 2d2eff41a..f748d002d 100644 --- a/configure.ac +++ b/configure.ac @@ -1397,9 +1397,10 @@ AC_SUBST(HAS_PARALLEL4,[$enable_parallel4]) AC_SUBST(HAS_DISKLESS,[yes]) AC_SUBST(HAS_MMAP,[$enable_mmap]) AC_SUBST(HAS_JNA,[$enable_jna]) -AC_SUBST(RELAX_COORD_BOUND,[$enable_relax_coord_bound]) +AC_SUBST(RELAX_COORD_BOUND,[$enable_zero_length_coord_bound]) AC_SUBST(HAS_ERANGE_FILL,[$enable_erange_fill]) + # Include some specifics for netcdf on windows. #AH_VERBATIM([_WIN32_STRICMP], AH_BOTTOM( @@ -1466,6 +1467,7 @@ AX_SET_META([NC_HAS_PARALLEL],[$enable_parallel],[yes]) AX_SET_META([NC_HAS_PARALLEL4],[$enable_parallel4],[yes]) AX_SET_META([NC_HAS_CDF5],[$enable_cdf5],[yes]) AX_SET_META([NC_HAS_ERANGE_FILL], [$enable_erange_fill],[yes]) +AX_SET_META([NC_RELAX_COORD_BOUND], [$enable_zero_length_coord_bound],[yes]) # Automake says that this is always run in top_builddir # and that srcdir is defined (== top_srcdir) diff --git a/include/netcdf_meta.h.in b/include/netcdf_meta.h.in index 54a2ff0e3..6ad98f1d8 100644 --- a/include/netcdf_meta.h.in +++ b/include/netcdf_meta.h.in @@ -53,5 +53,6 @@ #define NC_HAS_CDF5 @NC_HAS_CDF5@ /*!< CDF5 support. */ #define NC_HAS_ERANGE_FILL @NC_HAS_ERANGE_FILL@ /*!< ERANGE_FILL Support */ +#define NC_RELAX_COORD_BOUND @NC_RELAX_COORD_BOUND@ /*!< RELAX_COORD_BOUND */ #endif