projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5b235
)
v4l2: Add support for detecting the presence of V4L2 support on OpenBSD
author
Brad Smith
<brad@comstyle.com>
Thu, 8 Jan 2015 02:52:17 +0000
(21:52 -0500)
committer
Nicolas Dufresne
<nicolas.dufresne@collabora.co.uk>
Thu, 8 Jan 2015 14:03:30 +0000
(09:03 -0500)
https://bugzilla.gnome.org/review?bug=742503
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
6a395c0
..
9a286c2
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-506,7
+506,10
@@
AG_GST_CHECK_FEATURE(GST_V4L2, [Video 4 Linux 2], video4linux2, [
AC_MSG_CHECKING([Checking for video4linux2 header ...])
AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ],
[
- AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ])
+ AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ],
+ [
+ AC_CHECK_HEADER(sys/videoio.h, [ HAVE_GST_V4L2=yes ])
+ ])
])
if test "x$HAVE_VIDEODEV" = "xno"; then
AC_MSG_WARN([video4linux2 was not found])