From 81fc47cc06dd162940b39b99b25c3708db026b0a Mon Sep 17 00:00:00 2001 From: Dana Robinson <43805+derobins@users.noreply.github.com> Date: Wed, 23 Aug 2023 08:21:33 -0700 Subject: Enable szip by default in Autotools (#3412) Since libaec is so prevalent and BSD-licensed for both encode and decode, we build the szip filter by default when the szip or aec libraries are found. --- configure.ac | 11 ++++++++--- release_docs/RELEASE.txt | 6 ++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d669bea..c0eb47c 100644 --- a/configure.ac +++ b/configure.ac @@ -1561,7 +1561,7 @@ AC_ARG_WITH([fnord], ## ---------------------------------------------------------------------- ## Make the external filters list available to *.in files ## At this point it's unset (no external filters by default) but it -## will be filled in during the deflate (zlib) and szip processing +## will be filled in during the deflate/zlib and szip/libaec processing ## below. ## AC_SUBST([EXTERNAL_FILTERS]) @@ -1666,13 +1666,18 @@ fi ## command-line switch. The value is an include path and/or a library path. ## If the library path is specified then it must be preceded by a comma. ## +## libaec also implements Space Data System Standard 121.0-B-2 and has +## an szip compatibility header. Since the AEC library is BSD licensed +## for both encoding and decoding, we now build with the filter enabled +## by default when the library is found. +## AC_SUBST([LL_PATH]) AC_SUBST([USE_FILTER_SZIP]) USE_FILTER_SZIP="no" AC_ARG_WITH([szlib], [AS_HELP_STRING([--with-szlib=DIR], [Use szlib library for external szlib I/O - filter [default=no]])],, - [withval=no]) + filter [default=yes]])],, + [withval=yes]) case "X-$withval" in X-yes) diff --git a/release_docs/RELEASE.txt b/release_docs/RELEASE.txt index 77a0d8b..bef7c96 100644 --- a/release_docs/RELEASE.txt +++ b/release_docs/RELEASE.txt @@ -47,6 +47,12 @@ New Features Configuration: ------------- + - Autotools builds now build the szip filter by default when an appropriate + library is found + + Since libaec is prevalent and BSD-licensed for both encoding and + decoding, we build the szip filter by default now. + - Removed CMake cross-compiling variables * HDF5_USE_PREGEN -- cgit v0.12