summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 04d82d98..23be57a6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -550,6 +550,16 @@ return 0;
fi
])
+if test x$HAVE_GST_V4L2 = xyes; then
+ PKG_CHECK_MODULES(LIBV4L2, libv4l2,
+ [ have_libv4l2=yes
+ AC_DEFINE(HAVE_LIBV4L2, 1,
+ [Whether libv4l2 is available for video buffer conversion])
+ ], [
+ have_libv4l2=no
+ ])
+fi
+
dnl Check for X11
translit(dnm, m, l) AM_CONDITIONAL(USE_X, true)
AG_GST_CHECK_FEATURE(X, [X libraries and plugins],