if WITH_OWN_LZ4
liblz4_la_SOURCES = lib/lz4/lz4.c lib/lz4/lz4.h
liblz4_la_SOURCES += lib/lz4/lz4hc.c lib/lz4/lz4hc.h

liblz4_la_CPPFLAGS = -I$(top_srcdir)/lib/lz4 -DLZ4_HEAPMODE=1

noinst_LTLIBRARIES += liblz4.la
endif

EXTRA_DIST += lib/lz4/README
