# HG changeset patch # User arpi # Date 1009318102 0 # Node ID 6d0283908517501531bdefa3b8018e77c049a22b # Parent 99de682ffb848923f0421cd50a6518752710dc54 v4l detect fixed diff -r 99de682ffb84 -r 6d0283908517 configure --- 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 < 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'