[MPlayer-cvslog] r23293 - in trunk: configure vidix/Makefile vidix/drivers.c vidix/ivtv_vid.c
Benjamin Zores
ben at geexbox.org
Fri May 11 09:38:33 CEST 2007
On 5/11/07, Diego Biurrun <diego at biurrun.de> wrote:
> 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.
That's because there are 2 tests which, if failing, have the same results.
Ben
--
"My life, and by extension everyone else's is meaningless."
Bender, Futurama
More information about the MPlayer-cvslog
mailing list