[Mplayer-cvslog] CVS: main configure,1.365,1.366

Atmosfear atmos4 at mplayer.dev.hu
Sat Jan 12 21:02:49 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv25434

Modified Files:
	configure 
Log Message:
Fix awk version check from --version to -W version (works with both mawk and gawk maybe guess also with original awk)


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.365
retrieving revision 1.366
diff -u -r1.365 -r1.366
--- configure	12 Jan 2002 18:58:41 -0000	1.365
+++ configure	12 Jan 2002 20:02:47 -0000	1.366
@@ -1009,7 +1009,7 @@
 
 #checking for gawk
 if test "$_vidix" = yes ; then
-_gawk_ver=`echo '' | awk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
+_gawk_ver=`echo '' | awk -W version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
   case $_gawk_ver in
     '')
       _gawk_ver="v. ?.??, bad"




More information about the MPlayer-cvslog mailing list