From: RĂ©mi Denis-Courmont Date: Fri, 16 Apr 2010 17:33:49 +0000 (+0300) Subject: LUAC: fix error detection X-Git-Tag: 1.2.0-pre1~7034 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=129cd5c61a47a4816f9550a00c204aea4c561fc1;p=vlc LUAC: fix error detection --- diff --git a/configure.ac b/configure.ac index 651e174a3b..aea59d6609 100644 --- a/configure.ac +++ b/configure.ac @@ -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