[vlc-commits] commit: LUAC: fix error detection ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Fri Apr 16 19:34:01 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 16 20:33:49 2010 +0300| [129cd5c61a47a4816f9550a00c204aea4c561fc1] | committer: Rémi Denis-Courmont 

LUAC: fix error detection

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=129cd5c61a47a4816f9550a00c204aea4c561fc1
---

 configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 651e174..aea59d6 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



More information about the vlc-commits mailing list