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

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


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

LUAC: fix error detection
(cherry picked from commit 129cd5c61a47a4816f9550a00c204aea4c561fc1)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=2a1fdc344e3f04512f41365638341c4fffc271ed
---

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

diff --git a/configure.ac b/configure.ac
index ba81013..f43510f 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