fix liblz4 checking

This commit is contained in:
Dave Murphy 2018-02-10 23:23:49 +00:00 committed by plutoo
parent ffe4cfd5e2
commit a600f6403c

View File

@ -14,12 +14,12 @@ AC_PROG_CC
PKG_CHECK_MODULES([LZ4],
[liblz4 >= 1.7.1 liblz4 < 100],
[have_lz4="yes"],
[LZ4_LIBS="-llz4"] # If this fails, we will do another test next.
# We also add set LZ4_LIBS otherwise the
# linker will not know about the lz4 library
)
[liblz4 >= 1.7.1 liblz4 < 100],
[have_lz4="yes"],
[PKG_CHECK_MODULES([LZ4],
[liblz4 >= 131],
[have_lz4="yes"])
])
AC_SUBST(LZ4_LIBS)
AC_CONFIG_FILES([Makefile])