[vlc-commits] commit: Honor LUAC passed by the user. (Christophe Mutricy )
git at videolan.org
git at videolan.org
Thu Jun 10 23:07:35 CEST 2010
vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Jun 10 19:56:54 2010 +0100| [8fb9110b8907a1fdbcfa1391cd8741b4cdfe18c1] | committer: Christophe Mutricy
Honor LUAC passed by the user.
As we use AC_PATH_PROG, if you want to force LUAC by specifying it on your command line you need to give a full path+exec_name. Which is a bit un friendly. So work-around this behaviour.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8fb9110b8907a1fdbcfa1391cd8741b4cdfe18c1
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index ed368dd..eb0aeac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1612,7 +1612,7 @@ 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, [false])
+ AC_PATH_PROGS(LUAC,[${LUAC} luac], [false])
AS_IF([test "${ac_cv_path_LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.])
])
More information about the vlc-commits
mailing list