blob: 5fb3c989de75ded5997b61f323649fbb085674c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- configure.orig 2020-11-30 15:56:36 UTC
+++ configure
@@ -24075,8 +24075,24 @@ fi
x_ac_lua_pkg_name="lua"
- #check for 5.3 then 5.2 then 5.1
- if test -n "$PKG_CONFIG" && \
+ #check for 5.4 then 5.3 then 5.2 then 5.1
+if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.4\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "lua5.4") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ x_ac_lua_pkg_name=lua5.4
+else
+ if test -n "$PKG_CONFIG" && \
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua-5.4\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "lua-5.4") 2>&5
+ ac_status=$?
+ $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+ test $ac_status = 0; }; then
+ x_ac_lua_pkg_name=lua-5.4
+else
+ if test -n "$PKG_CONFIG" && \
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
ac_status=$?
@@ -24125,6 +24141,8 @@ else
x_ac_lua_pkg_name=lua-5.1
else
x_ac_lua_pkg_name="lua >= 5.1"
+fi
+fi
fi
fi
fi
|