[Mplayer-cvslog] CVS: main configure,1.362,1.363

Nick Kurshev nick at mplayer.dev.hu
Sat Jan 12 16:53:29 CET 2002


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

Modified Files:
	configure 
Log Message:
Checking for gawk

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.362
retrieving revision 1.363
diff -u -r1.362 -r1.363
--- configure	11 Jan 2002 22:31:11 -0000	1.362
+++ configure	12 Jan 2002 15:53:26 -0000	1.363
@@ -238,7 +238,6 @@
   esac
 done
 
-
 # Determine our OS name and CPU architecture
 if test -z "$_target" ; then
   # OS name
@@ -626,7 +625,6 @@
 $_as libac3/downmix/downmix_i386.S -o $TMPO > /dev/null 2>&1 && _binutils=yes
 echores "$_binutils"
 
-
 if x86 ; then
   extcheck() {
     if test "$1" = yes ; then
@@ -1009,6 +1007,28 @@
   fi
 fi
 
+#checking for gawk
+if test "$_vidix" = yes ; then
+_gawk_ver=`echo '' | gawk --version 2>&1 | sed -n 's/^.*wk \([^A-Za-z ]*[0-9.]*\).*$/\1/p'`
+  case $_gawk_ver in
+    '')
+      _gawk_ver="v. ?.??, bad"
+      _gawk_verc_fail=yes
+      ;;
+    3.[0-9]|3.[0-9].[0-9])
+      _gawk_ver="$_gawk_ver, ok"
+      ;;
+    *)
+      _gawk_ver="$_gawk_ver, bad"
+      _gawk_verc_fail=yes
+      ;;
+  esac
+echo Checking for gawk ... $_gawk_ver
+if test "$_gawk_verc_fail" ; then
+echo Gawk was not found or has wrong version. gawk-3.0.x is required
+exit
+fi
+fi
 
 
 ######################




More information about the MPlayer-cvslog mailing list