path: root/
diff options
authorStefan Schmidt <>2014-08-12 09:37:33 +0200
committerStefan Schmidt <>2014-08-22 16:27:28 +0200
commit3fe554e0b648a9f03ca150ec3b44f20f277b261c (patch)
tree91099b28f71242f57c0159fccec848de4e31ee99 /
parent8c8a2b1098932ebd6f40ef064dfa652bbdf7edc0 (diff)
build: Allow to use external liblz4 instead of embedded copy
While we are likely will keep the embedded copy for a while to avoid a really new dependency we allow now to use the external liblz4. You need at least revision r120 and a package that ships the pc file for it. Personally I would like to get rid of it rather sooner than later due to the security implications and a bunch of code we ship but have no idea about. Reality is that it will need some time until this new lib is actually packaged and shipped with releases for a a majority of people. This patch was co-worked with Doug Newgard <>
Diffstat (limited to '')
1 files changed, 22 insertions, 0 deletions
diff --git a/ b/
index 801ac1e15c..3247ee6866 100644
--- a/
+++ b/
@@ -374,6 +374,28 @@ AC_DEFINE_IF([ENABLE_LUA_OLD], [test "${want_lua_old}" = "yes"],
374 [1], [Use interpreted Lua (5.1 or 5.2)]) 374 [1], [Use interpreted Lua (5.1 or 5.2)])
375AC_SUBST([want_lua_old]) 375AC_SUBST([want_lua_old])
376 376
380 [AS_HELP_STRING([--enable-liblz4],[Enable usage of liblz4 instead of our embedded copy. @<:@default=disabled@:>@])],
381 [
382 if test "x${enableval}" = "xyes" ; then
383 # Only ships pc file since r120
384 PKG_CHECK_MODULES([LIBLZ4], [liblz4])
385 EFL_DEPEND_PKG([EET], [LIBLZ4], [liblz4])
386 EFL_DEPEND_PKG([EVAS], [LIBLZ4], [liblz4])
387 want_liblz4="yes"
388 else
389 want_liblz4="no"
390 fi
391 ],
392 [want_liblz4="no"])
394AM_CONDITIONAL([ENABLE_LIBLZ4], [test "${want_liblz4}" = "yes"])
395AC_DEFINE_IF([ENABLE_LIBLZ4], [test "${want_liblz4}" = "yes"], [1], [Use liblz4 external library instead of embedded copy])
377#### Checks for header files 399#### Checks for header files
378 400
379# Common Checks (keep names sorted for ease of use): 401# Common Checks (keep names sorted for ease of use):