diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-03-15 18:05:32 +0100 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2014-03-15 18:05:32 +0100 |
commit | aa248362f231b1363dd9b623394c2c6834edb078 (patch) | |
tree | 62a623da6c194d02e64ef03c22afd1d497ec34cd /configure.ac | |
parent | 478c9578f71f4b36f6acedba95359428b3bf19b3 (diff) |
v4l2-build: Set HAVE_GST_V4L2 if headers are present
The name of HAVE_ need to match the USE_. Now set HAVE_GST_V4L2 if
videodev2.h is found.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index bf4cb955f..c9d51b10d 100644 --- a/configure.ac +++ b/configure.ac @@ -501,12 +501,12 @@ AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [ dnl *** Video 4 Linux 2 *** dnl renamed to GST_V4L2 because of some conflict with kernel headers translit(dnm, m, l) AM_CONDITIONAL(USE_GST_V4L2, true) -HAVE_VIDEODEC=no +HAVE_GST_V4L2=no 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_VIDEODEV=yes ], + AC_CHECK_HEADER(linux/videodev2.h, [ HAVE_GST_V4L2=yes ], [ - AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_VIDEODEV=yes ]) + AC_CHECK_HEADER(sys/videodev2.h, [ HAVE_GST_V4L2=yes ]) ]) if test "x$HAVE_VIDEODEV" = "xno"; then AC_MSG_WARN([video4linux2 was not found]) |