comparison configure @ 3750:6d0283908517

v4l detect fixed
author arpi
date Tue, 25 Dec 2001 22:08:22 +0000
parents bd99dedefa01
children beba5552ed2d
comparison
equal deleted inserted replaced
3749:99de682ffb84 3750:6d0283908517
2431 _def_tv='#undef USE_TV' 2431 _def_tv='#undef USE_TV'
2432 fi 2432 fi
2433 echores "$_tv" 2433 echores "$_tv"
2434 2434
2435 echocheck "Video 4 Linux TV interface" 2435 echocheck "Video 4 Linux TV interface"
2436 if test "$_tv_v4l" = auto && test "$_tv" = yes && linux ; then 2436 if test "$_tv_v4l" = auto ; then
2437 _tv_v4l=no 2437 _tv_v4l=no
2438 if test -c /dev/video0 ; then 2438 if test "$_tv" = yes && linux ; then
2439 if test -c /dev/video0 || test -c /dev/video ; then
2439 cat > $TMPC <<EOF 2440 cat > $TMPC <<EOF
2440 #include <linux/videodev.h> 2441 #include <linux/videodev.h>
2441 int main(void) { return 0; } 2442 int main(void) { return 0; }
2442 EOF 2443 EOF
2443 cc_check && _tv_v4l=yes 2444 cc_check && _tv_v4l=yes
2444 fi 2445 fi
2445 else 2446 fi
2446 _tv_v4l=no
2447 fi 2447 fi
2448 if test "$_tv_v4l" = yes ; then 2448 if test "$_tv_v4l" = yes ; then
2449 _def_tv_v4l='#define HAVE_TV_V4L 1' 2449 _def_tv_v4l='#define HAVE_TV_V4L 1'
2450 _inputmodules="tv-v4l $_inputmodules" 2450 _inputmodules="tv-v4l $_inputmodules"
2451 else 2451 else