Mercurial > mplayer.hg
diff configure @ 22802:6279120e9465
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.
author | diego |
---|---|
date | Sun, 25 Mar 2007 17:38:50 +0000 |
parents | 423d7ac28bb2 |
children | 286dab036968 |
line wrap: on
line diff
--- a/configure Sun Mar 25 14:50:02 2007 +0000 +++ b/configure Sun Mar 25 17:38:50 2007 +0000 @@ -2509,11 +2509,11 @@ fi # checking for a working awk, I'm using mawk first, because it's fastest - atmos -_awk= +_awk=awk if test "$_vidix_internal" = yes ; then _awk_verc_fail=yes 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 _awk_verc_fail=no break