Mercurial > mplayer.hg
diff configure @ 3750:6d0283908517
v4l detect fixed
author | arpi |
---|---|
date | Tue, 25 Dec 2001 22:08:22 +0000 |
parents | bd99dedefa01 |
children | beba5552ed2d |
line wrap: on
line diff
--- a/configure Tue Dec 25 22:00:15 2001 +0000 +++ b/configure Tue Dec 25 22:08:22 2001 +0000 @@ -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'