]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Enable Lua 5.4.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 23 Oct 2020 14:49:02 +0000 (16:49 +0200)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 28 Oct 2020 13:36:16 +0000 (08:36 -0500)
Note to maintainers: Lua 5.4, Lua 5.3, and Lua 5.2 have not been tested
at runtime with pbx_lua. Until then, use the lowest available version
of Lua, if you enabled the module pbx_lua at all.

Change-Id: Ie5270448b11fcb4e2a53d899e4fe7fea793ce7e0

configure
configure.ac

index f7172599cdace74b01f4a8b6439776af490a9c84..f6e38b6b430c4d189e13171fbe3d8fbe2502b2d2 100755 (executable)
--- a/configure
+++ b/configure
@@ -29512,7 +29512,7 @@ fi
 
 
 
-for ver in 5.3 5.2 5.1; do
+for ver in 5.4 5.3 5.2 5.1; do
 
 if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
    pbxlibdir=""
index 562318c7b9b182217de95e5a21a65e040f6cd3c7..a9302b755b1238dbb389cbdb4777e1617af11f2f 100644 (file)
@@ -2553,7 +2553,7 @@ if test -z "$__opus_include" -o x"$__opus_include" = x" " ; then
 fi
 AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
 
-for ver in 5.3 5.2 5.1; do
+for ver in 5.4 5.3 5.2 5.1; do
        AST_EXT_LIB_CHECK([LUA], lua${ver}, [luaL_newstate], lua${ver}/lua.h, [-lm])
        if test "x${PBX_LUA}" = "x1" ; then
                if test x"${LUA_DIR}" = x; then