bug fix: respect configure option--enable-erange-fill when used at
configure command line.
@@ -1224,9 +1224,11 @@ if test "x$enable_pnetcdf" = xyes; then
AC_MSG_ERROR([PNetCDF must be built with relax-coord-bound])
fi
else
- # default setting
+ if test "x$enable_erange_fill" = xauto; then
+ # if --enable-erange-fill is not used, default setting is no
enable_erange_fill=no
fi
+fi
if test "x$enable_zero_length_coord_bound" = xyes; then
AC_DEFINE([RELAX_COORD_BOUND], [1], [if true, NC_EINVALCOORDS check is more relaxed])
