mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Merge pull request #2825 from WardF/gh2824.wif
This commit is contained in:
commit
dd61f30fe2
@ -1160,7 +1160,8 @@ set_std_filter(Szip)
|
||||
SET(HAVE_SZ ${Szip_FOUND})
|
||||
set_std_filter(Blosc)
|
||||
IF(Zstd_FOUND)
|
||||
set_std_filter(Zstd)
|
||||
set_std_filter(Zstd)
|
||||
SET(HAVE_ZSTD ON)
|
||||
ENDIF()
|
||||
IF(Bz2_FOUND)
|
||||
set_std_filter(Bz2)
|
||||
@ -1168,7 +1169,7 @@ ELSE()
|
||||
# The reason we use a local version is to support a more comples test case
|
||||
MESSAGE("libbz2 not found using built-in version")
|
||||
SET(HAVE_LOCAL_BZ2 ON)
|
||||
SET(HAVE_BZ2 ON)
|
||||
SET(HAVE_BZ2 ON CACHE BOOL "")
|
||||
set(STD_FILTERS "${STD_FILTERS} bz2")
|
||||
ENDIF()
|
||||
|
||||
|
@ -118,6 +118,12 @@ are set when opening a binary file on Windows. */
|
||||
/* if true, build byte-range Client */
|
||||
#cmakedefine ENABLE_BYTERANGE 1
|
||||
|
||||
/* if true, enable ERANGE fill */
|
||||
#cmakedefine ENABLE_ERANGE_FILL 1
|
||||
#ifdef ENABLE_ERANGE_FILL
|
||||
#define ERANGE_FILL 1
|
||||
#endif
|
||||
|
||||
/* if true, use hdf5 S3 virtual file reader */
|
||||
#cmakedefine ENABLE_HDF5_ROS3 1
|
||||
|
||||
|
@ -39,7 +39,7 @@ ifdef(`PNETCDF',`
|
||||
`#'if HAVE_CONFIG_H
|
||||
`#'include <config.h>
|
||||
`#'endif')
|
||||
|
||||
#include <config.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
@ -118,7 +118,7 @@ fi
|
||||
|
||||
has_multifilters="yes"
|
||||
|
||||
has_zstd="@HAS_ZSTD"
|
||||
has_zstd="@HAVE_ZSTD@"
|
||||
if [ -z "$has_zstd" -o "$has_zstd" = "OFF" -o "$has_zstd" = "FALSE" ]; then
|
||||
has_zstd="no"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user