forked from enlightenment/efl
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).
This commit is contained in:
parent
f10d8c42bb
commit
72b959239d
10
configure.ac
10
configure.ac
|
@ -1439,6 +1439,14 @@ if test "${have_wince}" = "yes"; then
|
||||||
want_evas_image_loader_webp="no"
|
want_evas_image_loader_webp="no"
|
||||||
fi
|
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])
|
EFL_CHECK_FUNC([EVAS], [dlsym])
|
||||||
|
|
||||||
if test "x${efl_func_dlsym}" = "xno" && test "${with_opengl}" != "none"; then
|
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
|
if test "${want_lua_old}" = "yes"; then
|
||||||
EFL_CHECK_LUA_OLD([EDJE])
|
EFL_CHECK_LUA_OLD([EDJE])
|
||||||
|
EFL_CHECK_LUA_OLD([EVAS])
|
||||||
else
|
else
|
||||||
EFL_DEPEND_PKG([EDJE], [LUAJIT], [luajit >= 2.0.0])
|
EFL_DEPEND_PKG([EDJE], [LUAJIT], [luajit >= 2.0.0])
|
||||||
|
EFL_DEPEND_PKG([EVAS], [LUAJIT], [luajit >= 2.0.0])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EFL_ADD_LIBS([EDJE], [-lm])
|
EFL_ADD_LIBS([EDJE], [-lm])
|
||||||
|
|
Loading…
Reference in New Issue