comparison configure @ 6714:be17a987e0a1

fix tv bazze
author atmos4
date Fri, 12 Jul 2002 03:26:46 +0000
parents 522713337297
children 0a1caa7fc82a
comparison
equal deleted inserted replaced
6713:cc917a581b6e 6714:be17a987e0a1
3760 3760
3761 echocheck "Video 4 Linux TV interface" 3761 echocheck "Video 4 Linux TV interface"
3762 if test "$_tv_v4l" = auto ; then 3762 if test "$_tv_v4l" = auto ; then
3763 _tv_v4l=no 3763 _tv_v4l=no
3764 if test "$_tv" = yes && linux ; then 3764 if test "$_tv" = yes && linux ; then
3765 if test -c /dev/video? || test -c /dev/video ; then 3765 for I in /dev/video /dev/video? ; do
3766 cat > $TMPC <<EOF 3766 if test -c $I ; then
3767 cat > $TMPC <<EOF
3767 #include <stdlib.h> 3768 #include <stdlib.h>
3768 #include <linux/videodev.h> 3769 #include <linux/videodev.h>
3769 int main(void) { return 0; } 3770 int main(void) { return 0; }
3770 EOF 3771 EOF
3771 cc_check && _tv_v4l=yes 3772 cc_check && _tv_v4l=yes
3772 fi 3773 break
3774 fi
3775 done
3773 fi 3776 fi
3774 fi 3777 fi
3775 if test "$_tv_v4l" = yes ; then 3778 if test "$_tv_v4l" = yes ; then
3776 _def_tv_v4l='#define HAVE_TV_V4L 1' 3779 _def_tv_v4l='#define HAVE_TV_V4L 1'
3777 _inputmodules="tv-v4l $_inputmodules" 3780 _inputmodules="tv-v4l $_inputmodules"