[vlc-commits] Make sure we use the correct luac version when using contribs
Rafaël Carré
git at videolan.org
Fri Jan 25 17:00:12 CET 2013
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Jan 25 05:31:48 2013 +0100| [838be58398f5f6c465eab6418446eacb6e8bff5b] | committer: Rafaël Carré
Make sure we use the correct luac version when using contribs
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=838be58398f5f6c465eab6418446eacb6e8bff5b
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index b694b66..cc557e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1524,6 +1524,9 @@ then
AS_IF([test "${LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.])
])
+ AS_IF([test -f ${CONTRIB_DIR}/lib/liblua.a -a `echo|${LUAC} -o - -|od -j 8 -N 2 -t x2|head -n 1|cut -d' ' -f2` != 0404], [
+ AC_MSG_ERROR([You need 32-bits luac when using using lua from contrib.])
+ ])
fi
AM_CONDITIONAL(BUILD_LUA, [test "${have_lua}" = "yes"])
More information about the vlc-commits
mailing list