Mercurial > mplayer.hg
comparison configure @ 23317:f5ecd91bcea1
Remove awk test. awk is a basic Unix tool, any implementation is sufficient.
author | diego |
---|---|
date | Thu, 17 May 2007 21:48:56 +0000 |
parents | 9446edf3329f |
children | add474ce92d0 |
comparison
equal
deleted
inserted
replaced
23316:9446edf3329f | 23317:f5ecd91bcea1 |
---|---|
7177 alpha && linux && _vidix_internal=yes | 7177 alpha && linux && _vidix_internal=yes |
7178 qnx && _vidix_internal=no | 7178 qnx && _vidix_internal=no |
7179 beos && _vidix_internal=no | 7179 beos && _vidix_internal=no |
7180 darwin && _vidix_internal=no | 7180 darwin && _vidix_internal=no |
7181 fi | 7181 fi |
7182 | |
7183 # checking for a working awk, I'm using mawk first, because it's fastest - atmos | |
7184 _awk=awk | |
7185 if test "$_vidix_internal" = yes ; then | 7182 if test "$_vidix_internal" = yes ; then |
7186 _awk_verc_fail=yes | |
7187 echocheck "awk" | |
7188 for _awk in mawk gawk nawk; do | |
7189 if ( $_awk 'BEGIN{testme();}function testme(){print"";}' ) >> "$TMPLOG" 2>&1; then | |
7190 _awk_verc_fail=no | |
7191 break | |
7192 fi | |
7193 done | |
7194 test "$_awk_verc_fail" = yes && _awk=no | |
7195 echores "$_awk" | |
7196 if test "$_awk_verc_fail" = yes; then | |
7197 echo "VIDIX needs awk, but no working implementation was found!" | |
7198 echo "Try the GNU version, which can be downloaded from:" | |
7199 echo "ftp://ftp.gnu.org/gnu/gawk/" | |
7200 echo "If you don't need VIDIX, you can use configure --disable-vidix instead." | |
7201 die "no awk" | |
7202 fi | |
7203 fi | |
7204 | 7183 |
7205 if test "$_vidix_internal" = yes; then | 7184 if test "$_vidix_internal" = yes; then |
7206 _res_comment="internal" | 7185 _res_comment="internal" |
7207 _vidix_external=no | 7186 _vidix_external=no |
7208 elif test "$_vidix_external" = auto; then | 7187 elif test "$_vidix_external" = auto; then |
7542 # FFmpeg uses libdir instead of LIBDIR | 7521 # FFmpeg uses libdir instead of LIBDIR |
7543 libdir = \$(LIBDIR) | 7522 libdir = \$(LIBDIR) |
7544 #AR = ar | 7523 #AR = ar |
7545 CC = $_cc | 7524 CC = $_cc |
7546 HOST_CC = $_host_cc | 7525 HOST_CC = $_host_cc |
7547 AWK = $_awk | |
7548 RANLIB = $_ranlib | 7526 RANLIB = $_ranlib |
7549 LDCONFIG = $_ldconfig | 7527 LDCONFIG = $_ldconfig |
7550 INSTALL = $_install | 7528 INSTALL = $_install |
7551 EXTRA_INC = $_inc_extra | 7529 EXTRA_INC = $_inc_extra |
7552 EXTRAXX_INC = $_inc_extra $_inc_extraxx | 7530 EXTRAXX_INC = $_inc_extra $_inc_extraxx |