mirror of
https://github.com/mpv-player/mpv
synced 2025-05-02 00:04:16 +00:00
old-configure: fix Lua tests
This added every Lua that was found on the system.
This commit is contained in:
parent
acd60736ef
commit
0ea2bc2778
@ -858,6 +858,7 @@ check_compile "Video 4 Linux 2 MPEG PVR interface" $_pvr PVR waftools/fragments/
|
|||||||
test_lua() {
|
test_lua() {
|
||||||
if test "$_lua" = auto && $_pkg_config "$1" ; then
|
if test "$_lua" = auto && $_pkg_config "$1" ; then
|
||||||
check_pkg_config "Lua ($1)" $_lua LUA "$1"
|
check_pkg_config "Lua ($1)" $_lua LUA "$1"
|
||||||
|
_lua=$(defretval)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -867,7 +868,7 @@ test_lua "luajit >= 2.0.0"
|
|||||||
test_lua "lua >= 5.2.0"
|
test_lua "lua >= 5.2.0"
|
||||||
test_lua "lua5.2 >= 5.2.0" # debian
|
test_lua "lua5.2 >= 5.2.0" # debian
|
||||||
|
|
||||||
test "$_lua" = no && check_yes_no $lua LUA
|
test "$_lua" != yes && check_yes_no no LUA
|
||||||
|
|
||||||
check_trivial "joystick" $_joystick JOYSTICK
|
check_trivial "joystick" $_joystick JOYSTICK
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user