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

Rémi Denis-Courmont remi at remlab.net
Tue Oct 4 10:59:05 CEST 2011


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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list