forked from aniani/vim
		
	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:
		
							
								
								
									
										2
									
								
								src/auto/configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								src/auto/configure
									
									
									
									
										vendored
									
									
								
							| @@ -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" | ||||||
|   | |||||||
| @@ -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" | ||||||
|   | |||||||
| @@ -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, | ||||||
| /**/ | /**/ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user