[vlc-commits] Configure: enharden the check for luac 32bits

Jean-Baptiste Kempf git at videolan.org
Tue Jul 2 19:07:22 CEST 2013


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jul  2 18:53:13 2013 +0200| [54ebf52a8febdafa7c62b20c9bd44aacfcd373d6] | 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

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

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

diff --git a/configure.ac b/configure.ac
index dc65371..a9dd349 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