[build] Fix lua detection

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-04 18:38:05 +02:00
parent 98119d5d3f
commit c5237444a9
1 changed files with 1 additions and 1 deletions

View File

@ -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])