summaryrefslogtreecommitdiff
path: root/m4/efl_lua_old.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_lua_old.m4')
-rw-r--r--m4/efl_lua_old.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/m4/efl_lua_old.m4 b/m4/efl_lua_old.m4
index ff8a33a4bb..537a6f336b 100644
--- a/m4/efl_lua_old.m4
+++ b/m4/efl_lua_old.m4
@@ -25,6 +25,12 @@ if test "x${requirement_lua}" = "x"; then
25 AC_MSG_ERROR([Missing lua 5.1 or 5.2 support]) 25 AC_MSG_ERROR([Missing lua 5.1 or 5.2 support])
26 fi 26 fi
27else 27else
28 EFL_DEPEND_PKG([$1], [LUA], [${requirement_lua}]) 28 req_found="no"
29 EFL_DEPEND_PKG([$1], [LUA], [${requirement_lua}],
30 [ req_found="yes" ],
31 [ req_found="no" ])
32 if test "x${req_found}" = "xyes"; then
33 PKG_CHECK_MODULES([$1]_LUA, [${requirement_lua}])
34 fi
29fi 35fi
30]) 36])