mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Fix awk version check from --version to -W version (works with both mawk and gawk maybe guess also with original awk)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4118 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d65b7acbcf
commit
4d7665a602
2
configure
vendored
2
configure
vendored
@ -1009,7 +1009,7 @@ fi
|
||||
|
||||
#checking for gawk
|
||||
if test "$_vidix" = yes ; then
|
||||
_gawk_ver=`echo '' | awk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
|
||||
_gawk_ver=`echo '' | awk -W version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
|
||||
case $_gawk_ver in
|
||||
'')
|
||||
_gawk_ver="v. ?.??, bad"
|
||||
|
Loading…
Reference in New Issue
Block a user