[MPlayer-cvslog] r23293 - in trunk: configure vidix/Makefile vidix/drivers.c vidix/ivtv_vid.c

Diego Biurrun diego at biurrun.de
Fri May 11 08:55:09 CEST 2007


On Thu, May 10, 2007 at 08:47:27PM +0200, ben wrote:
> 
> Log:
> new VIDIX driver for IVTV cards, original patch by Lutz Koschorreck
> 
> --- trunk/configure	(original)
> +++ trunk/configure	Thu May 10 20:47:27 2007
> @@ -7239,6 +7239,26 @@ if test "$_vidix" = yes ; then
>      _def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE'
>      _vidix_drv_cyberblade=no
>    fi
> +  if test "$_vidix_drivers" = all || test `echo "$_vidix_drivers" | grep -e ivtv`; then
> +    cat > $TMPC << EOF
> +#include <linux/types.h>
> +#include <linux/ivtv.h>
> +int main(void) { return 0; }
> +EOF
> +    _vidix_ivtv=no
> +    cc_check && _vidix_ivtv=yes
> +
> +    if test "$_vidix_ivtv" = yes; then
> +      _def_vidix_drv_ivtv='#define CONFIG_VIDIX_DRV_IVTV 1'
> +      _vidix_drv_ivtv=yes
> +    else
> +      _def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
> +      _vidix_drv_ivtv=no
> +    fi
> +  else
> +    _def_vidix_drv_ivtv='#undef CONFIG_VIDIX_DRV_IVTV'
> +    _vidix_drv_ivtv=no
> +  fi

The else clauses are duplicates.

Diego



More information about the MPlayer-cvslog mailing list