mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
BuildSystem: Enable Lua in NetBSD.
luaL_openlib got removed with Lua 5.2. luaL_newstate is available in all versions. ASTERISK-27718 Change-Id: I9c8c8880315ee36ab740d7c40153306c0bfd6f71
This commit is contained in:
@@ -2387,8 +2387,8 @@ if test "x${PBX_LUA}" = "x1" ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Some distributions (like SuSE) remove the 5.1 suffix.
|
||||
AST_EXT_LIB_CHECK([LUA], [lua], [luaL_openlib], [lua.h], [-lm])
|
||||
# Some distributions (like openSUSE and NetBSD) remove the 5.x suffix.
|
||||
AST_EXT_LIB_CHECK([LUA], [lua], [luaL_newstate], [lua.h], [-lm])
|
||||
|
||||
# Accept either RADIUS client library, their APIs are fully compatible,
|
||||
# just different header filenames and different SONAMEs
|
||||
|
Reference in New Issue
Block a user