raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=886fb0a782d8b0b969f61115b8b0e4e5b3bf6dc2

commit 886fb0a782d8b0b969f61115b8b0e4e5b3bf6dc2
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Aug 2 16:54:56 2017 +0900

    efl build - fix lua old support on debian
    
    didnt detect cflags properly. now it does.
    
    @fix
---
 configure.ac      | 2 +-
 m4/efl_lua_old.m4 | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8bb4395175..7e4c17719d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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
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
 ])

-- 


Reply via email to