SVN revision: 49823
This commit is contained in:
Vincent Torri 2010-06-23 18:19:10 +00:00
parent c8caae0ae8
commit 75d6f4ce18
1 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ PKG_CHECK_MODULES([LUA], [lua >= 5.1.0], requirement_lua="lua",
[PKG_CHECK_MODULES([LUA], [lua51 >= 5.1.0], requirement_lua="lua51",
[have_lua="no])])])])
if test "x${have_lua}" = "no" ; then
if test "x${have_lua}" = "xno" ; then
AC_MSG_CHECKING([whether lua_newstate() is in liblua])
AC_CHECK_LIB([lua], [lua_newstate],
[
@ -237,7 +237,7 @@ if test "x${have_lua}" = "no" ; then
fi
AC_SUBST(lua_libs)
if test "x${have_lua}" = "no" ; then
if test "x${have_lua}" = "xno" ; then
AC_MSG_ERROR([Cannot find lua library. Be sure that you have installed it and set CFLAGS and LDFLAGS correctly])
fi