mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1787: Cannot build with latest luajit
Problem: Cannot build with latest luajit Solution: adjust sed regexp and don't expect '-' in version output closes: #12896 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
2f25e40b1f
commit
d42f95bbfb
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@ -5435,7 +5435,7 @@ $as_echo_n "checking LuaJIT version... " >&6; }
|
|||||||
if ${vi_cv_version_luajit+:} false; then :
|
if ${vi_cv_version_luajit+:} false; then :
|
||||||
$as_echo_n "(cached) " >&6
|
$as_echo_n "(cached) " >&6
|
||||||
else
|
else
|
||||||
vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-[a-z0-9]*\)* .*/\1/'`
|
vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-\?[a-z0-9]*\)* .*/\1/'`
|
||||||
fi
|
fi
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
|
||||||
$as_echo "$vi_cv_version_luajit" >&6; }
|
$as_echo "$vi_cv_version_luajit" >&6; }
|
||||||
|
@ -638,7 +638,7 @@ if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
|
|||||||
if test "X$vi_cv_path_luajit" != "X"; then
|
if test "X$vi_cv_path_luajit" != "X"; then
|
||||||
dnl -- find LuaJIT version
|
dnl -- find LuaJIT version
|
||||||
AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
|
AC_CACHE_CHECK(LuaJIT version, vi_cv_version_luajit,
|
||||||
[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-[[a-z0-9]]*\)* .*/\1/'` ])
|
[ vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([[0-9.]]*\)\.[[0-9]]\(-\?[[a-z0-9]]*\)* .*/\1/'` ])
|
||||||
AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
|
AC_CACHE_CHECK(Lua version of LuaJIT, vi_cv_version_lua_luajit,
|
||||||
[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
|
[ vi_cv_version_lua_luajit=`${vi_cv_path_luajit} -e "print(_VERSION)" | sed 's/.* //'` ])
|
||||||
vi_cv_path_lua="$vi_cv_path_luajit"
|
vi_cv_path_lua="$vi_cv_path_luajit"
|
||||||
|
@ -699,6 +699,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 */
|
||||||
|
/**/
|
||||||
|
1787,
|
||||||
/**/
|
/**/
|
||||||
1786,
|
1786,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user