[vlc-commits] configure.ac: Use AC_PATH_PROGS for luac

Hugo Beauzée-Luyssen git at videolan.org
Tue Apr 12 19:03:11 CEST 2016


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Apr 12 18:36:40 2016 +0200| [37c69b3326ca87685d7f15d107abe6946f9f0750] | committer: Hugo Beauzée-Luyssen

configure.ac: Use AC_PATH_PROGS for luac

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

 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 1842021..b14e3f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1550,7 +1550,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_CHECK_PROGS(LUAC, [${LUAC} luac5.3 luac], [false])
+  AC_PATH_PROGS(LUAC, [${LUAC} luac5.3 luac], [false])
   AS_IF([test "${LUAC}" = "false"], [
     AC_MSG_ERROR([Could not find the LUA byte compiler.])
   ])



More information about the vlc-commits mailing list