Skip to content

Commit f4349ef

Browse files
authored
Merge pull request #2087 from edwardhartnett/ejh_logging_info
2 parents 6ea721d + 00cabb9 commit f4349ef

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2188,6 +2188,7 @@ is_enabled(ENABLE_NCZARR HAS_NCZARR)
21882188
is_enabled(ENABLE_NCZARR_S3_TESTS DO_NCZARR_S3_TESTS)
21892189
is_enabled(ENABLE_MULTIFILTERS HAS_MULTIFILTERS)
21902190
is_enabled(ENABLE_NCZARR_ZIP DO_NCZARR_ZIP_TESTS)
2191+
is_enabled(ENABLE_LOGGING HAS_LOGGING)
21912192

21922193
# Generate file from template.
21932194
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/libnetcdf.settings.in"

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,7 @@ AC_SUBST(HAS_NCZARR,[$enable_nczarr])
16491649
AC_SUBST(DO_NCZARR_S3_TESTS,[$enable_nczarr_s3_tests])
16501650
AC_SUBST(HAS_MULTIFILTERS,[$has_multifilters])
16511651
AC_SUBST(DO_NCZARR_ZIP_TESTS,[$enable_nczarr_zip])
1652+
AC_SUBST(HAS_LOGGING,[$enable_logging])
16521653

16531654
# Include some specifics for netcdf on windows.
16541655
#AH_VERBATIM([_WIN32_STRICMP],
@@ -1721,6 +1722,7 @@ AX_SET_META([NC_HAS_PAR_FILTERS], [$hdf5_supports_par_filters],[yes])
17211722
AX_SET_META([NC_HAS_BYTERANGE],[$enable_byterange],[yes])
17221723
AX_SET_META([NC_HAS_NCZARR],[$enable_nczarr],[yes])
17231724
AX_SET_META([NC_HAS_MULTIFILTERS],[$has_multifilters],[yes])
1725+
AX_SET_META([NC_HAS_LOGGING],[$enable_logging],[yes])
17241726

17251727
# This is the version of the dispatch table. If the dispatch table is
17261728
# changed, this should be incremented, so that user-defined format

include/netcdf_meta.h.in

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,21 @@
4747
#define NC_HAS_SZIP_WRITE @NC_HAS_SZIP@ /*!< szip write support (HDF5 only) */
4848
#define NC_HAS_DAP2 @NC_HAS_DAP2@ /*!< DAP2 support. */
4949
#define NC_HAS_DAP4 @NC_HAS_DAP4@ /*!< DAP4 support. */
50-
#define NC_HAS_BYTERANGE @HAS_BYTERANGE@
50+
#define NC_HAS_BYTERANGE @NC_HAS_BYTERANGE@ /*!< Byterange support. */
5151
#define NC_HAS_DISKLESS @NC_HAS_DISKLESS@ /*!< diskless support. */
5252
#define NC_HAS_MMAP @NC_HAS_MMAP@ /*!< mmap support. */
5353
#define NC_HAS_JNA @NC_HAS_JNA@ /*!< jna support. */
5454
#define NC_HAS_PNETCDF @NC_HAS_PNETCDF@ /*!< PnetCDF support. */
5555
#define NC_HAS_PARALLEL4 @NC_HAS_PARALLEL4@ /*!< parallel IO support via HDF5 */
5656
#define NC_HAS_PARALLEL @NC_HAS_PARALLEL@ /*!< parallel IO support via HDF5 and/or PnetCDF. */
5757

58-
#define NC_HAS_CDF5 @NC_HAS_CDF5@ /*!< CDF5 support. */
59-
#define NC_HAS_ERANGE_FILL @NC_HAS_ERANGE_FILL@ /*!< ERANGE_FILL Support */
60-
#define NC_RELAX_COORD_BOUND 1 /*!< RELAX_COORD_BOUND */
61-
#define NC_DISPATCH_VERSION @NC_DISPATCH_VERSION@ /*!< Dispatch table version */
62-
#define NC_HAS_PAR_FILTERS @NC_HAS_PAR_FILTERS@ /* Parallel I/O with filter support. */
63-
#define NC_HAS_NCZARR @NC_HAS_NCZARR@
64-
#define NC_HAS_MULTIFILTERS @NC_HAS_MULTIFILTERS@
58+
#define NC_HAS_CDF5 @NC_HAS_CDF5@ /*!< CDF5 support. */
59+
#define NC_HAS_ERANGE_FILL @NC_HAS_ERANGE_FILL@ /*!< ERANGE_FILL Support. */
60+
#define NC_RELAX_COORD_BOUND 1 /*!< Always allow 0 counts in parallel I/O. */
61+
#define NC_DISPATCH_VERSION @NC_DISPATCH_VERSION@ /*!< Dispatch table version. */
62+
#define NC_HAS_PAR_FILTERS @NC_HAS_PAR_FILTERS@ /* Parallel I/O with filter support. */
63+
#define NC_HAS_NCZARR @NC_HAS_NCZARR@ /*!< Parallel I/O with filter support. */
64+
#define NC_HAS_MULTIFILTERS @NC_HAS_MULTIFILTERS@ /*!< Nczarr support. */
65+
#define NC_HAS_LOGGING @NC_HAS_LOGGING@ /*!< Logging support. */
6566

6667
#endif

libnetcdf.settings.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ SZIP Write Support: @HAS_SZLIB_WRITE@
4545
Parallel Filters: @HAS_PAR_FILTERS@
4646
NCZarr Support: @HAS_NCZARR@
4747
Multi-Filter Support: @HAS_MULTIFILTERS@
48+
Logging: @HAS_LOGGING@

0 commit comments

Comments
 (0)