Skip to content

Commit 2eec8aa

Browse files
committed
define ENABLE_COMPRESSION if --enable-zlib or --enable-sz is set
1 parent d3b160d commit 2eec8aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

configure.ac

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,9 @@ fi
23072307
AC_SUBST(ENABLE_SZ)
23082308
AM_CONDITIONAL(ENABLE_SZ, [test x$enable_sz = xyes])
23092309

2310+
if test "x${have_zlib}" = xyes || test "x$enable_sz" = "xyes" ; then
2311+
AC_DEFINE(ENABLE_COMPRESSION, [1], [Defined if compression is enabled])
2312+
fi
23102313

23112314
if test "x$enable_sz" = "xyes" ; then
23122315
SZ_INSTALL=""

0 commit comments

Comments
 (0)