Commit 2a1fdc34 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

LUAC: fix error detection

(cherry picked from commit 129cd5c6)
parent e0ceb0e1
......@@ -1631,7 +1631,8 @@ then
AC_MSG_ERROR([Could not find lua. Lua is needed for some interfaces (rc, telnet, http) as well as many other custom scripts. Use --disable-lua to ignore this error.])
fi
AC_ARG_VAR([LUAC], [LUA byte compiler])
AC_PATH_PROG(LUAC, luac, [
AC_PATH_PROG(LUAC, luac, [false])
AS_IF([test "${ac_cv_path_LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.])
])
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment