[vlc-commits] commit: Honor LUAC passed by the user. (Christophe Mutricy )

git at videolan.org git at videolan.org
Wed Jun 16 00:18:11 CEST 2010


vlc/vlc-1.1 | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Jun 10 19:56:54 2010 +0100| [68f9a7a4a1b1d16dce3ef22015d5531bdbb00794] | 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.
(cherry picked from commit 8fb9110b8907a1fdbcfa1391cd8741b4cdfe18c1)

Signed-off-by: Christophe Mutricy <xtophe at videolan.org>

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

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

diff --git a/configure.ac b/configure.ac
index 48e055f..47411d8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1631,7 +1631,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