mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
build-sys: use pkgconfig and lz4 and bump version
The new frame api was released in v. 125.
This commit is contained in:
parent
59f448cf15
commit
898d5660eb
@ -557,9 +557,9 @@ AM_CONDITIONAL(HAVE_BZIP2, [test "$have_bzip2" = "yes"])
|
|||||||
have_lz4=no
|
have_lz4=no
|
||||||
AC_ARG_ENABLE(lz4, AS_HELP_STRING([--enable-lz4], [Enable optional LZ4 support]))
|
AC_ARG_ENABLE(lz4, AS_HELP_STRING([--enable-lz4], [Enable optional LZ4 support]))
|
||||||
AS_IF([test "x$enable_lz4" = "xyes"], [
|
AS_IF([test "x$enable_lz4" = "xyes"], [
|
||||||
AC_CHECK_HEADERS(lz4.h,
|
PKG_CHECK_MODULES(LZ4, [ liblz4 >= 125 ],
|
||||||
[AC_DEFINE(HAVE_LZ4, 1, [Define in LZ4 is available]) have_lz4=yes],
|
[AC_DEFINE(HAVE_LZ4, 1, [Define in LZ4 is available]) have_lz4=yes],
|
||||||
[AC_MSG_ERROR([*** LZ4 support requested but headers not found])])
|
[AC_MSG_ERROR([*** LZ4 support requested but libraries not found])])
|
||||||
])
|
])
|
||||||
AM_CONDITIONAL(HAVE_LZ4, [test "$have_lz4" = "yes"])
|
AM_CONDITIONAL(HAVE_LZ4, [test "$have_lz4" = "yes"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user