Commit 6f81ceb1 authored by Rafaël Carré's avatar Rafaël Carré

Fix luac detection error case

ac_cv_path_XX only caches positive results, not failures
parent e06d5fd0
...@@ -1613,7 +1613,7 @@ then ...@@ -1613,7 +1613,7 @@ then
fi fi
AC_ARG_VAR([LUAC], [LUA byte compiler]) AC_ARG_VAR([LUAC], [LUA byte compiler])
AC_PATH_PROGS(LUAC,[${LUAC} luac], [false]) AC_PATH_PROGS(LUAC,[${LUAC} luac], [false])
AS_IF([test "${ac_cv_path_LUAC}" = "false"], [ AS_IF([test "${LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.]) AC_MSG_ERROR([Could not find the LUA byte compiler.])
]) ])
fi 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