summaryrefslogtreecommitdiff
path: root/tests/libfstream
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-05-17 10:50:22 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-05-17 10:55:34 +0200
commit66e63950907b6ce1683243a165d89c560a8bef6c (patch)
tree96916b150261b55b04dbd99eb2a8dbab744b6f8b /tests/libfstream
parent91d628c5cf067432bc78b728a0bf4f56aee3e407 (diff)
Add Automake conditional for zstd stream compression support
In addition to the preprocessor define, use an Automake conditional for optional compilation of the zstd stream tests. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libfstream')
-rw-r--r--tests/libfstream/Makemodule.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libfstream/Makemodule.am b/tests/libfstream/Makemodule.am
index d943686..c3af095 100644
--- a/tests/libfstream/Makemodule.am
+++ b/tests/libfstream/Makemodule.am
@@ -55,9 +55,11 @@ TESTS += test_xfrm_gzip
endif
if WITH_ZSTD
+if HAVE_ZSTD_STREAM
check_PROGRAMS += test_xfrm_zstd
TESTS += test_xfrm_zstd
endif
endif
+endif
EXTRA_DIST += $(top_srcdir)/tests/libfstream/get_line.txt