Mercurial > vim
changeset 20107:78f018fef092 v8.2.0609
patch 8.2.0609: configure does not detect moonjit correctly
Commit: https://github.com/vim/vim/commit/ad4dc83389931a0354c3691b42f99a5bb98c766f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 20 16:21:53 2020 +0200
patch 8.2.0609: configure does not detect moonjit correctly
Problem: Configure does not detect moonjit correctly.
Solution: Double the brackets. (Ozaki Kiichi)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Apr 2020 16:30:04 +0200 |
parents | 8da053113b84 |
children | 8823765c60f2 |
files | src/auto/configure src/configure.ac src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auto/configure +++ b/src/auto/configure @@ -5485,7 +5485,7 @@ fi # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk lua_suf=/moonjit-2.3 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 lua_suf=`basename '$dir'` lua_suf="/$lua_suf"
--- a/src/configure.ac +++ b/src/configure.ac @@ -630,7 +630,7 @@ if test "$enable_luainterp" = "yes" -o " # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk lua_suf=/moonjit-2.3 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 lua_suf=`basename '$dir'` lua_suf="/$lua_suf"