comparison src/configure.ac @ 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 06cc64c7b0cb
children 4470e19bc790
comparison
equal deleted inserted replaced
20106:8da053113b84 20107:78f018fef092
628 628
629 # Detect moonjit: 629 # Detect moonjit:
630 # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk 630 # https://groups.google.com/forum/#!topic/vim_use/O0vek60WuTk
631 lua_suf=/moonjit-2.3 631 lua_suf=/moonjit-2.3
632 inc_path="$vi_cv_path_lua_pfx/include" 632 inc_path="$vi_cv_path_lua_pfx/include"
633 for dir in "$inc_path"/moonjit-[0-9]* ; do 633 for dir in "$inc_path"/moonjit-[[0-9]]* ; do
634 if test -d "$dir" ; then 634 if test -d "$dir" ; then
635 lua_suf=`basename '$dir'` 635 lua_suf=`basename '$dir'`
636 lua_suf="/$lua_suf" 636 lua_suf="/$lua_suf"
637 break 637 break
638 fi 638 fi