From 058c3f6d0acaa155ccbf06129dbead7eae060cf0 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 22 May 2020 21:01:15 +0200 Subject: [PATCH] [configure.ac] Let build with lua52 or lua53 also. Refs #46 Preferred is lua51, but next are checked 53, and finally 52 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index de3a4a79..9626a991 100644 --- a/configure.ac +++ b/configure.ac @@ -893,7 +893,7 @@ if test -z "$disable_lua"; then withval=""; fi for luadir in "$withval" "" /usr /usr/local; do - for suffix in "" 5.1 51; do + for suffix in "" 5.1 51 5.3 53 5.2 52; do if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \ test -f "$luadir/include/lua$suffix/lua.h" ) ; then LUA_LIBS="-L$luadir/lib -llua$suffix -lm"