Commit 5c813972 authored by Sandrine Avakian's avatar Sandrine Avakian

Fixing bug which was preventing libv4l2 from being really disabled when using...

Fixing bug which was preventing libv4l2 from being really disabled when using the option --disable-libv4l2.
parent c04430db
......@@ -932,16 +932,21 @@ if test "$v4l" = "yes" ; then
[libv4l2=yes]
)
PKG_CHECK_MODULES(LIBV4L2, libv4l2,
AS_IF([test "$libv4l2" != "no"],
[PKG_CHECK_MODULES(LIBV4L2, libv4l2,
[AC_DEFINE(HAVE_LIBV4L2,1,[Defined if we have libv4l2])
have_libv4l2=yes],
[echo "No libv4l2 found."]
)
PKG_CHECK_MODULES(LIBV4L1, libv4l1,
])
AS_IF([test "$libv4l1" != "no"],
[PKG_CHECK_MODULES(LIBV4L1, libv4l1,
[AC_DEFINE(HAVE_LIBV4L1,1,[Defined if we have libv4l1])
have_libv4l1=yes],
[echo "No libv4l1 found."]
)
])
PKG_CHECK_MODULES(LIBV4LCONVERT, libv4lconvert,
[AC_DEFINE(HAVE_LIBV4LCONVERT,1,[Defined if we have libv4lconvert])
have_libv4lconvert=yes],
......
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