[vlc-commits] Configure: enharden the check for luac 32bits
Jean-Baptiste Kempf
git at videolan.org
Tue Jul 2 19:08:06 CEST 2013
vlc/vlc-2.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul 2 18:53:13 2013 +0200| [682bb612136ea42069fbfbe5de7b9204a1687275] | committer: Jean-Baptiste Kempf
Configure: enharden the check for luac 32bits
It could be a problem if one had no contribs, but /lib/liblua.a was
present
(cherry picked from commit 54ebf52a8febdafa7c62b20c9bd44aacfcd373d6)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=682bb612136ea42069fbfbe5de7b9204a1687275
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5f42607..1700914 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1551,7 +1551,7 @@ 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], [
+ 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|cut -d' ' -f2` != 0404], [
AC_MSG_ERROR([You need 32-bits luac when using using lua from contrib.])
])
fi
More information about the vlc-commits
mailing list