[Mplayer-cvslog] CVS: main configure,1.335,1.336

Arpi of Ize arpi at mplayer.dev.hu
Tue Dec 25 23:08:25 CET 2001


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

Modified Files:
	configure 
Log Message:
v4l detect fixed

Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.335
retrieving revision 1.336
diff -u -r1.335 -r1.336
--- configure	25 Dec 2001 21:58:10 -0000	1.335
+++ configure	25 Dec 2001 22:08:22 -0000	1.336
@@ -2433,17 +2433,17 @@
 echores "$_tv"
 
 echocheck "Video 4 Linux TV interface"
-if test "$_tv_v4l" = auto && test "$_tv" = yes && linux ; then
-  _tv_v4l=no
-  if test -c /dev/video0 ; then
+if test "$_tv_v4l" = auto ; then
+ _tv_v4l=no
+ if test "$_tv" = yes && linux ; then
+  if test -c /dev/video0 || test -c /dev/video ; then
     cat > $TMPC <<EOF
 #include <linux/videodev.h>
 int main(void) { return 0; }
 EOF
     cc_check && _tv_v4l=yes
   fi
-else
-  _tv_v4l=no
+ fi
 fi
 if test "$_tv_v4l" = yes ; then
   _def_tv_v4l='#define HAVE_TV_V4L 1'




More information about the MPlayer-cvslog mailing list