mirror of https://github.com/mpv-player/mpv
Fall back on plain awk during the awk test. It should be safe to assume
that some sort of awk is installed on the system. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22820 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
551aeefee1
commit
7a370b589f
|
@ -2509,11 +2509,11 @@ if qnx ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# checking for a working awk, I'm using mawk first, because it's fastest - atmos
|
# checking for a working awk, I'm using mawk first, because it's fastest - atmos
|
||||||
_awk=
|
_awk=awk
|
||||||
if test "$_vidix_internal" = yes ; then
|
if test "$_vidix_internal" = yes ; then
|
||||||
_awk_verc_fail=yes
|
_awk_verc_fail=yes
|
||||||
echocheck "awk"
|
echocheck "awk"
|
||||||
for _awk in mawk gawk nawk awk; do
|
for _awk in mawk gawk nawk; do
|
||||||
if ( $_awk 'BEGIN{testme();}function testme(){print"";}' ) >> "$TMPLOG" 2>&1; then
|
if ( $_awk 'BEGIN{testme();}function testme(){print"";}' ) >> "$TMPLOG" 2>&1; then
|
||||||
_awk_verc_fail=no
|
_awk_verc_fail=no
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue