aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2026-01-05 15:01:19 +0100
committerChristian Hesse <mail@eworm.de>2026-01-07 11:17:53 +0100
commitb8fea9bcb14ea10e618c539c400139dd43d90e02 (patch)
tree753671e1e0a21908305c5162f09cb0f52a9eb9ef /configure
parent0d9bbb74c6de959ab7c6b93b7a97f9f2e643e8e8 (diff)
downloadvis-b8fea9bcb14ea10e618c539c400139dd43d90e02.tar.gz
vis-b8fea9bcb14ea10e618c539c400139dd43d90e02.tar.xz
support lua 5.5...
... and replace the functions for unsigned integers with their signed equivalents, using a type cast where needed. Actually the functions for unsigned integers were deprecated since lua 5.3... https://www.lua.org/manual/5.3/manual.html#8.3 Also lua_newstate() requires a third argument since 5.5... https://www.lua.org/manual/5.5/manual.html#8.3 Finally the key in a for loop is now const, so use a temporary variable instead.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1842e23..5760fe6 100755
--- a/configure
+++ b/configure
@@ -436,7 +436,7 @@ int main(int argc, char *argv[]) {
}
EOF
- for liblua in lua lua5.4 lua5.3 lua5.2 lua-5.4 lua-5.3 lua-5.2 lua54 lua53 lua52; do
+ for liblua in lua lua5.5 lua5.4 lua5.3 lua5.2 lua-5.5 lua-5.4 lua-5.3 lua-5.2 lua55 lua54 lua53 lua52; do
printf " checking for %s... " "$liblua"
if test "$have_pkgconfig" = "yes" ; then
@@ -490,7 +490,7 @@ int main(int argc, char *argv[]) {
}
EOF
- for liblpeg in lpeg lua5.4-lpeg lua5.3-lpeg lua5.2-lpeg; do
+ for liblpeg in lpeg lua5.5-lpeg lua5.4-lpeg lua5.3-lpeg lua5.2-lpeg; do
printf " checking for static %s... " "$liblpeg"
if test "$have_pkgconfig" = "yes" ; then