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

Dominique Leuenberger dominique at leuenberger.net
Tue Oct 4 10:40:23 CEST 2011


---
 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"])
 
 dnl
 dnl special access module for Blackmagic SDI cards
-- 
1.7.3.4




More information about the vlc-devel mailing list