[vlc-commits] Configure: disable-lua if correct luac is not found

Jean-Baptiste Kempf git at videolan.org
Sun Apr 17 21:51:09 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Apr 17 20:44:41 2016 +0200| [a8770b1a188072dcf726610eac516e702e5e394b] | committer: Jean-Baptiste Kempf

Configure: disable-lua if correct luac is not found

This is temporary until we have a better solution

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

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

diff --git a/configure.ac b/configure.ac
index b1df8fe..aab3002 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1555,7 +1555,8 @@ then
     AC_MSG_ERROR([Could not find the LUA byte compiler.])
   ])
   AS_IF([test -d "${CONTRIB_DIR}" -a -f "${CONTRIB_DIR}/lib/liblua.a" -a `echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|tr -s ' '|cut -d' ' -f2` != 0404], [
-    AC_MSG_ERROR([You need 32-bits luac when using lua from contrib.])
+    AC_MSG_WARN([You need 32-bits luac when using lua from contrib.])
+    have_lua=no
   ])
 fi
 AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])



More information about the vlc-commits mailing list