[vlc-devel] [PATCH] V4L2: Take --disable-libv4l2 into account when configuring

Dominique Leuenberger dominique at leuenberger.net
Tue Oct 4 11:18:23 CEST 2011


On Tue, 2011-10-04 at 10:59 +0200, Rémi Denis-Courmont wrote: 
> On Tue,  4 Oct 2011 10:40:23 +0200, Dominique Leuenberger
> <dominique at leuenberger.net> wrote:
> > ---
> >  configure.ac |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 02d7c72..7e424a9 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1952,7 +1952,7 @@ AS_IF([test "$have_v4l2" = "yes"], [
> >      VLC_ADD_PLUGIN([pvr])
> >    ])
> >  ])
> > -AM_CONDITIONAL(HAVE_V4L2, [test "${have_v4l2}" != "no"])
> > +AM_CONDITIONAL(HAVE_V4L2, [test "${have_v4l2}" != "no" -a
> > "${enable_libv4l2}" != "no"])
> 
> The code is correct and the patch is wrong.
> You don't need libv4l2 to use v4l2.
> 

Ok... the attempt was to fix the fact that currently on ancient kernels,
v4l is detected but later on fails to build.. 

Any other way of 'disabling' the attempt of building v4l in this case?

Dominique




More information about the vlc-devel mailing list