[Mplayer-cvslog] CVS: main configure,1.521,1.522

Atmosfear atmos4 at mplayerhq.hu
Fri Jul 12 05:26:49 CEST 2002


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

Modified Files:
	configure 
Log Message:
fix tv bazze


Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.521
retrieving revision 1.522
diff -u -r1.521 -r1.522
--- configure	10 Jul 2002 20:56:50 -0000	1.521
+++ configure	12 Jul 2002 03:26:46 -0000	1.522
@@ -3762,14 +3762,17 @@
 if test "$_tv_v4l" = auto ; then
  _tv_v4l=no
  if test "$_tv" = yes && linux ; then
-  if test -c /dev/video? || test -c /dev/video ; then
-    cat > $TMPC <<EOF
+  for I in /dev/video /dev/video? ; do
+    if test -c $I ; then
+      cat > $TMPC <<EOF
 #include <stdlib.h>
 #include <linux/videodev.h>
 int main(void) { return 0; }
 EOF
-    cc_check && _tv_v4l=yes
-  fi
+      cc_check && _tv_v4l=yes
+      break
+    fi
+  done
  fi
 fi
 if test "$_tv_v4l" = yes ; then




More information about the MPlayer-cvslog mailing list