--- asterisk-16.15.0.org/configure.ac 2020-11-19 13:34:40.000000000 +0100 +++ asterisk-16.15.0/configure.ac 2020-11-27 12:43:01.444606104 +0100 @@ -2553,7 +2553,7 @@ if test -z "$__opus_include" -o x"$__opu fi AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include]) -for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do +for ver in ${LUA_VERSIONS:-54 53 52 51 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