From 72b959239db031a0d7d9d668cfd34086dc028115 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Thu, 10 Apr 2014 17:49:53 +0900 Subject: [PATCH] Evas: Add lua support for evas Since Lua is already a dependency for Edje, I believe it is safe to add it as a dependency for Evas as well. This will be used to replace the (bad) scripting language used for the Evas filters (text effects). --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index 2c58e3d13f..f3339d550a 100644 --- a/configure.ac +++ b/configure.ac @@ -1439,6 +1439,14 @@ if test "${have_wince}" = "yes"; then want_evas_image_loader_webp="no" fi +if test "${want_lua_old}" = "yes"; then + EFL_CHECK_LUA_OLD([EVAS]) +else + EFL_DEPEND_PKG([EVAS], [LUAJIT], [luajit >= 2.0.0]) +fi + +EFL_ADD_FEATURE([EVAS], [lua-old]) + EFL_CHECK_FUNC([EVAS], [dlsym]) if test "x${efl_func_dlsym}" = "xno" && test "${with_opengl}" != "none"; then @@ -3826,8 +3834,10 @@ EFL_ADD_FEATURE([EDJE], [lua-old]) if test "${want_lua_old}" = "yes"; then EFL_CHECK_LUA_OLD([EDJE]) + EFL_CHECK_LUA_OLD([EVAS]) else EFL_DEPEND_PKG([EDJE], [LUAJIT], [luajit >= 2.0.0]) + EFL_DEPEND_PKG([EVAS], [LUAJIT], [luajit >= 2.0.0]) fi EFL_ADD_LIBS([EDJE], [-lm])