Commit 9f0e70d2 authored by Antoine Cellerier's avatar Antoine Cellerier

* configure.ac: also try lua51

parent 124442d8
...@@ -1566,11 +1566,14 @@ then ...@@ -1566,11 +1566,14 @@ then
[ have_lua=no ] ) [ have_lua=no ] )
AC_CHECK_LIB( lua5.1 , luaL_newstate, AC_CHECK_LIB( lua5.1 , luaL_newstate,
[LUA_LIBS="-llua5.1"], [LUA_LIBS="-llua5.1"],
AC_CHECK_LIB( lua51 , luaL_newstate,
[LUA_LIBS="-llua51"],
AC_CHECK_LIB( lua , luaL_newstate, AC_CHECK_LIB( lua , luaL_newstate,
[LUA_LIBS="-llua"], [LUA_LIBS="-llua"],
[ have_lua=no [ have_lua=no
AC_MSG_WARN([lua >= 5.1 not found!]) AC_MSG_WARN([lua >= 5.1 not found!])
]) ])
])
) )
]) ])
]) ])
......
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