mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-03-25 17:40:27 +08:00
Corrected a typo in dv21.c, added a stanza for zlib.dll into configure.ac
This commit is contained in:
parent
0cdced57ed
commit
f2516809c5
@ -632,7 +632,7 @@ AC_CHECK_SIZEOF(off_t)
|
||||
AC_CHECK_SIZEOF(size_t)
|
||||
|
||||
if test "x$enable_netcdf_4" = xyes || test "x$enable_dap" = xyes; then
|
||||
AC_SEARCH_LIBS([deflate], [zlib1 z], [], [
|
||||
AC_SEARCH_LIBS([deflate], [zlib zlib1 z], [], [
|
||||
AC_MSG_ERROR([Can't find or link to the z library. Turn off netCDF-4 and \
|
||||
opendap with --disable-netcdf-4 --disable-dap, or see config.log for errors.])])
|
||||
fi
|
||||
|
@ -46,7 +46,7 @@ nvdims(int ncid, int varid)
|
||||
{
|
||||
int ndims, status;
|
||||
|
||||
if ((status = nc_inq_var_ndims(ncid, varid, &ndims)))
|
||||
if ((status = nc_inq_varndims(ncid, varid, &ndims)))
|
||||
{
|
||||
nc_advise("ncvdims", status, "ncid %d", ncid);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user