# HG changeset patch # User Bram Moolenaar # Date 1608235205 -3600 # Node ID 96a72f1f6c0c7f3c87f63f480130d9214c12a8be # Parent da9d651f3250b8e790765539a67cc388f83d32b5 patch 8.2.2151: $dir not expanded when configure checks for moonjit Commit: https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62 Author: Bram Moolenaar Date: Thu Dec 17 20:50:25 2020 +0100 patch 8.2.2151: $dir not expanded when configure checks for moonjit Problem: $dir not expanded when configure checks for moonjit. Solution: Use double quotes instead of single quotes. (closes https://github.com/vim/vim/issues/7478) diff --git a/src/auto/configure b/src/auto/configure --- a/src/auto/configure +++ b/src/auto/configure @@ -5479,7 +5479,7 @@ fi inc_path="$vi_cv_path_lua_pfx/include" for dir in "$inc_path"/moonjit-[0-9]* ; do if test -d "$dir" ; then - lua_suf=`basename '$dir'` + lua_suf=`basename "$dir"` lua_suf="/$lua_suf" break fi diff --git a/src/configure.ac b/src/configure.ac --- a/src/configure.ac +++ b/src/configure.ac @@ -632,7 +632,7 @@ if test "$enable_luainterp" = "yes" -o " inc_path="$vi_cv_path_lua_pfx/include" for dir in "$inc_path"/moonjit-[[0-9]]* ; do if test -d "$dir" ; then - lua_suf=`basename '$dir'` + lua_suf=`basename "$dir"` lua_suf="/$lua_suf" break fi diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2151, +/**/ 2150, /**/ 2149,