bug fix: respect configure option--enable-erange-fill when used at

configure command line.
This commit is contained in:
Wei-keng Liao 2019-07-13 16:07:50 -05:00
parent 9db0e26b80
commit ed45a0a298

View File

@ -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])