Skip to content

Commit

Permalink
Bump the Lua minimum version to 5.3. (#1738)
Browse files Browse the repository at this point in the history
Bump the Lua minimum version to 5.3.

The 986be66 commit introduced a use of
lua_rotate(), which is not available in Lua 5.2, unintentionally causing a dependency on 5.3. Rather than work around it, just bump the requirement to 5.3, it's almost seven years old by now...

(cherry picked from commit 24b6c45)
  • Loading branch information
ppentchev authored and pmatilai committed Aug 20, 2021
1 parent 8ecefde commit 5250436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The debugedit >= 0.3 tools for producing debuginfo sub-packages.
It is available from
https://sourceware.org/debugedit/

Lua >= 5.2 library + development environment.
Lua >= 5.3 library + development environment.
Note that only the library is needed at runtime, RPM never calls external
Lua interpreter for anything. Lua is available from
http://www.lua.org
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ AC_SUBST(WITH_ACL_LIB)
AM_CONDITIONAL(ACL,[test "$with_acl" = yes])

PKG_CHECK_MODULES([LUA],
[lua >= 5.2],
[lua >= 5.3],
[],
[AC_MSG_ERROR([lua not present or too old)])])
AC_SUBST(LUA_CFLAGS)
Expand Down

0 comments on commit 5250436

Please sign in to comment.