Commit 7fb4e4b5 authored by Rafaël Carré's avatar Rafaël Carré

Fix LUAC check if CONTRIB_DIR is not set

parent 7486046b
...@@ -1535,7 +1535,7 @@ then ...@@ -1535,7 +1535,7 @@ then
AS_IF([test "${LUAC}" = "false"], [ AS_IF([test "${LUAC}" = "false"], [
AC_MSG_ERROR([Could not find the LUA byte compiler.]) 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|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.]) AC_MSG_ERROR([You need 32-bits luac when using using lua from contrib.])
]) ])
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment