0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0609: configure does not detect moonjit correctly

Problem:    Configure does not detect moonjit correctly.
Solution:   Double the brackets. (Ozaki Kiichi)
This commit is contained in:
Bram Moolenaar 2020-04-20 16:21:53 +02:00
parent 4da6df40f5
commit ad4dc83389
3 changed files with 4 additions and 2 deletions

2
src/auto/configure vendored
View File

@ -5485,7 +5485,7 @@ $as_echo "no" >&6; }
# https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk
lua_suf=/moonjit-2.3 lua_suf=/moonjit-2.3
inc_path="$vi_cv_path_lua_pfx/include" inc_path="$vi_cv_path_lua_pfx/include"
for dir in "$inc_path"/moonjit-0-9* ; do for dir in "$inc_path"/moonjit-[0-9]* ; do
if test -d "$dir" ; then if test -d "$dir" ; then
lua_suf=`basename '$dir'` lua_suf=`basename '$dir'`
lua_suf="/$lua_suf" lua_suf="/$lua_suf"

View File

@ -630,7 +630,7 @@ if test "$enable_luainterp" = "yes" -o "$enable_luainterp" = "dynamic"; then
# https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk
lua_suf=/moonjit-2.3 lua_suf=/moonjit-2.3
inc_path="$vi_cv_path_lua_pfx/include" inc_path="$vi_cv_path_lua_pfx/include"
for dir in "$inc_path"/moonjit-[0-9]* ; do for dir in "$inc_path"/moonjit-[[0-9]]* ; do
if test -d "$dir" ; then if test -d "$dir" ; then
lua_suf=`basename '$dir'` lua_suf=`basename '$dir'`
lua_suf="/$lua_suf" lua_suf="/$lua_suf"

View File

@ -746,6 +746,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 */
/**/
609,
/**/ /**/
608, 608,
/**/ /**/