1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

Update Lua configure check for 5.0

Use the new names instead of the deprecated names to increase
the likelihood that later versions, which might lack the
backwards-compatibility wrappers, will work.
This commit is contained in:
Miciah Dashiel Butler Masters 2006-02-26 08:20:30 +00:00 committed by Jonas Fonseca
parent aa56bff974
commit ba73ca408d

View File

@ -742,10 +742,11 @@ if test -z "$disable_lua"; then
AC_TRY_LINK([ #include <lua.h>
#include <lualib.h>],
[ lua_State *L = lua_open();
lua_baselibopen(L);
lua_mathlibopen(L);
lua_strlibopen(L);
lua_tablibopen(L);
luaopen_base(L);
luaopen_table(L);
luaopen_io(L);
luaopen_string(L);
luaopen_math(L);
lua_pushboolean(L, 1);
lua_close(L);],
cf_result=yes, cf_result=no)