Commit 58903aa1 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

Fix luac detection error case

ac_cv_path_XX only caches positive results, not failures
(cherry picked from commit 6f81ceb15848ea5db09d631d1d389eaaee58d34e)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b00a8eb6
......@@ -1632,7 +1632,7 @@ then
fi
AC_ARG_VAR([LUAC], [LUA byte compiler])
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.])
])
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