Skip to content
Snippets Groups Projects
Commit c7be0c68 authored by mmzk1526's avatar mmzk1526 Committed by Marge Bot
Browse files

Use "-V" for alex version check for better backward compatibility

Fixes #24302.
In recent versions of alex, "-v" is used for "--verbose" instead of "-version".
parent 89299a89
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ AC_SUBST(AlexCmd,$ALEX)
AC_CACHE_CHECK([for version of alex], fptools_cv_alex_version,
changequote(, )dnl
[if test x"$AlexCmd" != x; then
fptools_cv_alex_version=`"$AlexCmd" -v |
fptools_cv_alex_version=`"$AlexCmd" -V |
grep 'Alex [Vv]ersion' | sed -e 's/Alex [Vv]ersion \([0-9\.]*\).*/\1/g'` ;
else
fptools_cv_alex_version="";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment