From: Zbigniew Jędrzejewski-Szmek Date: Wed, 3 Dec 2014 03:20:08 +0000 (-0500) Subject: build-sys: use pkgconfig and lz4 and bump version X-Git-Tag: v228~198^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=898d5660eba688c566e90d0a15050dfeb8b8265d;p=thirdparty%2Fsystemd.git build-sys: use pkgconfig and lz4 and bump version The new frame api was released in v. 125. --- diff --git a/configure.ac b/configure.ac index 2024939ad0b..1739fe75cf1 100644 --- a/configure.ac +++ b/configure.ac @@ -557,9 +557,9 @@ AM_CONDITIONAL(HAVE_BZIP2, [test "$have_bzip2" = "yes"]) have_lz4=no AC_ARG_ENABLE(lz4, AS_HELP_STRING([--enable-lz4], [Enable optional LZ4 support])) 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_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"])