diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-17 21:48:56 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-17 21:48:56 +0000 |
commit | 8b21601418f49494fa1a921ff108b4da87097f3d (patch) | |
tree | fddc49eee7ca37d9be77313b0c651f8e195ca0eb | |
parent | f9b7e2b874a32ad147a3d7519e4327bde5837398 (diff) |
Remove awk test. awk is a basic Unix tool, any implementation is sufficient.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23335 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 22 | ||||
-rw-r--r-- | vidix/Makefile | 2 |
2 files changed, 1 insertions, 23 deletions
@@ -7179,28 +7179,7 @@ if test "$_vidix_internal" = auto ; then beos && _vidix_internal=no darwin && _vidix_internal=no fi - -# checking for a working awk, I'm using mawk first, because it's fastest - atmos -_awk=awk if test "$_vidix_internal" = yes ; then -_awk_verc_fail=yes -echocheck "awk" -for _awk in mawk gawk nawk; do - if ( $_awk 'BEGIN{testme();}function testme(){print"";}' ) >> "$TMPLOG" 2>&1; then - _awk_verc_fail=no - break - fi -done -test "$_awk_verc_fail" = yes && _awk=no -echores "$_awk" -if test "$_awk_verc_fail" = yes; then -echo "VIDIX needs awk, but no working implementation was found!" -echo "Try the GNU version, which can be downloaded from:" -echo "ftp://ftp.gnu.org/gnu/gawk/" -echo "If you don't need VIDIX, you can use configure --disable-vidix instead." -die "no awk" -fi -fi if test "$_vidix_internal" = yes; then _res_comment="internal" @@ -7544,7 +7523,6 @@ libdir = \$(LIBDIR) #AR = ar CC = $_cc HOST_CC = $_host_cc -AWK = $_awk RANLIB = $_ranlib LDCONFIG = $_ldconfig INSTALL = $_install diff --git a/vidix/Makefile b/vidix/Makefile index 7410b57542..0924abf2c4 100644 --- a/vidix/Makefile +++ b/vidix/Makefile @@ -47,7 +47,7 @@ rage128_vid.o: radeon_vid.c $(CC) -c $(CFLAGS) -DRAGE128 -o $@ $< pci_names.c pci_dev_ids.c: pci.db - LC_ALL=C $(AWK) -f pci_db2c.awk $< + LC_ALL=C awk -f pci_db2c.awk $< clean:: rm -f pci_*.c pci_*.h |