Commit 0ca839b5 authored by Simon Morlat's avatar Simon Morlat

don't check for libv4l when video is disabled.

parent b437bd3b
......@@ -579,7 +579,7 @@ PKG_CHECK_MODULES(LIBV4L1, libv4l1,
)
if test "$found_v4l" = "yes" && test "$have_libv4l2" != "yes" ; then
if test "$libv4l" = "yes" ; then
if test "$video" = "true" && test "$libv4l" = "yes" ; then
AC_MSG_ERROR(
[
Missing libv4l2. It is highly recommended to build with
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment