mirror of
https://github.com/vim/vim.git
synced 2025-11-12 22:44:34 -05:00
patch 9.0.1816: configure: sed uses non-portable regex
Problem: configure: sed uses non-portable regex
Solution: use '*' modifier instead of '\?' in regex
for luajit version detection
closes: #12954
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: ichizok <gclient.gaap@gmail.com>
This commit is contained in:
committed by
Christian Brabandt
parent
a5eb6785ef
commit
bddc6adca6
2
src/auto/configure
vendored
2
src/auto/configure
vendored
@@ -5385,7 +5385,7 @@ $as_echo_n "checking LuaJIT version... " >&6; }
|
||||
if ${vi_cv_version_luajit+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-\?[a-z0-9]*\)* .*/\1/'`
|
||||
vi_cv_version_luajit=`${vi_cv_path_luajit} -v 2>&1 | sed 's/LuaJIT \([0-9.]*\)\.[0-9]\(-*[a-z0-9]*\)* .*/\1/'`
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vi_cv_version_luajit" >&5
|
||||
$as_echo "$vi_cv_version_luajit" >&6; }
|
||||
|
||||
Reference in New Issue
Block a user