[build] Fix lua detection
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
98119d5d3f
commit
c5237444a9
|
@ -109,7 +109,7 @@ AC_DEFINE_UNQUOTED([AWESOME_COMPILE_BY], ["$aw_whoami"], [build user])
|
||||||
|
|
||||||
AC_ARG_VAR([LUA], [Lua interpreter])
|
AC_ARG_VAR([LUA], [Lua interpreter])
|
||||||
AC_PATH_PROG([LUA], [lua], [:])
|
AC_PATH_PROG([LUA], [lua], [:])
|
||||||
test "x$LUA" = "x:" && AC_MSG_WARN([awesome compilation requires Lua])
|
test "x$LUA" = "x" && AC_MSG_WARN([awesome compilation requires Lua])
|
||||||
|
|
||||||
AS_AC_EXPAND(awesomelibdir, "$datarootdir/awesome/lib")
|
AS_AC_EXPAND(awesomelibdir, "$datarootdir/awesome/lib")
|
||||||
AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path])
|
AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path])
|
||||||
|
|
Loading…
Reference in New Issue