mirror of
https://github.com/mpv-player/mpv
synced 2025-01-05 03:06:28 +01:00
gawk->awk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4112 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9e21f49efc
commit
c89764b220
8
configure
vendored
8
configure
vendored
@ -1009,18 +1009,14 @@ fi
|
||||
|
||||
#checking for gawk
|
||||
if test "$_vidix" = yes ; then
|
||||
_gawk_ver=`echo '' | gawk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
|
||||
_gawk_ver=`echo '' | awk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
|
||||
case $_gawk_ver in
|
||||
'')
|
||||
_gawk_ver="v. ?.??, bad"
|
||||
_gawk_verc_fail=yes
|
||||
;;
|
||||
3.[0-9]|3.[0-9].[0-9])
|
||||
_gawk_ver="$_gawk_ver, ok"
|
||||
;;
|
||||
*)
|
||||
_gawk_ver="$_gawk_ver, bad"
|
||||
_gawk_verc_fail=yes
|
||||
_gawk_ver="$_gawk_ver, ok"
|
||||
;;
|
||||
esac
|
||||
echo Checking for gawk ... $_gawk_ver
|
||||
|
Loading…
Reference in New Issue
Block a user