aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-08-02 16:54:56 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-08-02 17:01:12 +0900
commit886fb0a782d8b0b969f61115b8b0e4e5b3bf6dc2 (patch)
tree453313cd4e9a4397ccbb6bf552de7af9077fe36f /m4
parentector - fix coveirty fix - vmin is -vmax not -vmin (diff)
downloadefl-886fb0a782d8b0b969f61115b8b0e4e5b3bf6dc2.tar.gz
efl build - fix lua old support on debian
didnt detect cflags properly. now it does. @fix
Diffstat (limited to '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
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
])