summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
authorichizok <gclient.gaap@gmail.com>2023-08-29 20:54:32 +0200
committerChristian Brabandt <cb@256bit.org>2023-08-29 20:54:32 +0200
commitbddc6adca647f7f20ff6e1b7913e394d09c5eb23 (patch)
treef70c92dd5239c466e3255d036e36b9169286cc15 /src/auto
parenta5eb6785efcc36a97e071722408acc20d6c6e606 (diff)
patch 9.0.1816: configure: sed uses non-portable regexv9.0.1816
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>
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auto/configure b/src/auto/configure
index b3985d59db..7f326c429c 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -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; }