# HG changeset patch # User iive # Date 1201896893 0 # Node ID b102c1f10728e75303300757cb01a5b7e2edcd64 # Parent 21a1dc062bc5b22ae2a414ebafdfc301f53c2684 Update the test for ivtv output driver. Linux kernel 2.6.24 now includes ivtv, but the vo_ivtv.c fails to compile with it. Test for structures and ioctl()s used in the current driver. diff -r 21a1dc062bc5 -r b102c1f10728 configure --- a/configure Fri Feb 01 20:11:14 2008 +0000 +++ b/configure Fri Feb 01 20:14:53 2008 +0000 @@ -4927,7 +4927,7 @@ echores "$_dxr3" -echocheck "IVTV TV-Out" +echocheck "IVTV TV-Out (pre linux-2.6.24)" if test "$_ivtv" = auto ; then cat > $TMPC << EOF #include @@ -4935,7 +4935,13 @@ #include #include #include -int main(void) { return 0; } +#include +int main(void) { +struct ivtv_cfg_stop_decode sd; +struct ivtv_cfg_start_decode sd1; +ioctl (0, IVTV_IOC_START_DECODE, &sd1); +ioctl (0, IVTV_IOC_STOP_DECODE, &sd); +return 0; } EOF _ivtv=no cc_check && _ivtv=yes