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:
atmos4 2002-01-12 20:02:47 +00:00
parent d65b7acbcf
commit 4d7665a602
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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"