efl build - fix lua old support on debian

didnt detect cflags properly. now it does.

@fix
This commit is contained in:
Carsten Haitzler 2017-08-02 16:54:56 +09:00
parent 7718b4c0ea
commit 886fb0a782
2 changed files with 8 additions and 2 deletions

View File

@ -4815,7 +4815,7 @@ fi
dnl EFL_OPTIONAL_INTERNAL_DEPEND_PKG([EDJE], [${want_physics}], [ephysics])
if test "x${want_lua_old}" = "xyes"; then
EFL_CHECK_LUA_OLD([EDJE_LUA])
EFL_CHECK_LUA_OLD([EDJE])
else
PKG_CHECK_MODULES([EDJE_LUA], [luajit >= 2.0.0])
fi

View File

@ -25,6 +25,12 @@ if test "x${requirement_lua}" = "x"; then
AC_MSG_ERROR([Missing lua 5.1 or 5.2 support])
fi
else
EFL_DEPEND_PKG([$1], [LUA], [${requirement_lua}])
req_found="no"
EFL_DEPEND_PKG([$1], [LUA], [${requirement_lua}],
[ req_found="yes" ],
[ req_found="no" ])
if test "x${req_found}" = "xyes"; then
PKG_CHECK_MODULES([$1]_LUA, [${requirement_lua}])
fi
fi
])