mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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:
parent
aa56bff974
commit
ba73ca408d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user