summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct2
-rw-r--r--configure.ac2
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/meson.build2
4 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index 6a31c23f..9db2ac2e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -579,7 +579,7 @@ if 1:
if env['with_lua']:
found_lua = False
- for lua_name in ['lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua']:
+ for lua_name in ['lua5.4', 'lua-5.4', 'lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua']:
print("Searching for lua: " + lua_name + " >= 5.0")
if autoconf.CheckParseConfigForLib('LIBLUA', "pkg-config '" + lua_name + " >= 5.0' --cflags --libs"):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_LUA_H' ])
diff --git a/configure.ac b/configure.ac
index 44dd6e77..246692a9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1359,7 +1359,7 @@ if test "$WITH_LUA" != no; then
LUA_CFLAGS="-I$WITH_LUA"
fi
else
- for luaname in lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
+ for luaname in lua5.4 lua-5.4 lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
if test "$found_lua" = "0"; then
PKG_CHECK_MODULES([LUA], [$luaname >= 5.1],
[found_lua=1],
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 604aba28..d6c24f72 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -645,7 +645,7 @@ else()
endif()
if(WITH_LUA)
- pkg_search_module(LUA REQUIRED lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua)
+ pkg_search_module(LUA REQUIRED lua5.4 lua-5.4 lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua)
message(STATUS "found lua at: INCDIR: ${LUA_INCLUDE_DIRS} LIBDIR: ${LUA_LIBRARY_DIRS} LDFLAGS: ${LUA_LDFLAGS} CFLAGS: ${LUA_CFLAGS}")
set(HAVE_LIBLUA 1 "Have liblua")
set(HAVE_LUA_H 1 "Have liblua header")
diff --git a/src/meson.build b/src/meson.build
index 4e90030c..c618a3b7 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -380,7 +380,7 @@ endif
liblua = []
if get_option('with_lua')
found_lua = false
- foreach l: ['lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua']
+ foreach l: ['lua5.4', 'lua-5.4', 'lua5.3', 'lua-5.3', 'lua5.2', 'lua-5.2', 'lua5.1', 'lua-5.1', 'lua']
if not(found_lua)
liblua = dependency(l, required: false)
if (liblua.found())