mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.3.805
Problem: Lua version 5.2 is not detected properly on Arch Linux. Solution: Adjust autoconf. (lilydjwg)
This commit is contained in:
parent
fffcfea984
commit
07e1da6bbd
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@ -4737,13 +4737,15 @@ $as_echo "no" >&6; }
|
|||||||
if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then
|
if test -f "${vi_cv_path_lua_pfx}/bin/cyglua-${vi_cv_version_lua}.dll"; then
|
||||||
vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll"
|
vi_cv_dll_name_lua="cyglua-${vi_cv_version_lua}.dll"
|
||||||
else
|
else
|
||||||
|
for LUA_SOVER in "${vi_cv_version_lua}.so" ".so.${vi_cv_version_lua}"; do
|
||||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||||
if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
if test -f "${vi_cv_path_lua_pfx}/lib/liblua${LUA_SOVER}.$i"; then
|
||||||
LUA_SONAME=".$i"
|
LUA_SONAME=".$i"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
vi_cv_dll_name_lua="liblua${vi_cv_version_lua}.so$LUA_SONAME"
|
vi_cv_dll_name_lua="liblua${LUA_SOVER}$LUA_SONAME"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
$as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
|
$as_echo "#define DYNAMIC_LUA 1" >>confdefs.h
|
||||||
|
|
||||||
|
@ -496,13 +496,15 @@ if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
|||||||
else
|
else
|
||||||
dnl Determine the SONAME for the current version, but fallback to
|
dnl Determine the SONAME for the current version, but fallback to
|
||||||
dnl liblua${vi_cv_version_lua}.so if no SONAME-versioned file is found.
|
dnl liblua${vi_cv_version_lua}.so if no SONAME-versioned file is found.
|
||||||
|
for LUA_SOVER in "${vi_cv_version_lua}.so" ".so.${vi_cv_version_lua}"; do
|
||||||
for i in 0 1 2 3 4 5 6 7 8 9; do
|
for i in 0 1 2 3 4 5 6 7 8 9; do
|
||||||
if test -f "${vi_cv_path_lua_pfx}/lib/liblua${vi_cv_version_lua}.so.$i"; then
|
if test -f "${vi_cv_path_lua_pfx}/lib/liblua${LUA_SOVER}.$i"; then
|
||||||
LUA_SONAME=".$i"
|
LUA_SONAME=".$i"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
vi_cv_dll_name_lua="liblua${vi_cv_version_lua}.so$LUA_SONAME"
|
vi_cv_dll_name_lua="liblua${LUA_SOVER}$LUA_SONAME"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
AC_DEFINE(DYNAMIC_LUA)
|
AC_DEFINE(DYNAMIC_LUA)
|
||||||
LUA_LIBS=""
|
LUA_LIBS=""
|
||||||
|
@ -725,6 +725,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
805,
|
||||||
/**/
|
/**/
|
||||||
804,
|
804,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user