This adds v4l2 stuff to the build system

Original commit message from CVS:
This adds v4l2 stuff to the build system
This commit is contained in:
Ronald S. Bultje 2002-09-09 07:15:56 +00:00
parent 216b896e29
commit 959295e740
2 changed files with 8 additions and 1 deletions

2
common

@ -1 +1 @@
Subproject commit 355c616d5f6779ea194f8b61704229c6fb04ae7b Subproject commit 2f6d9cfdaaa83ab454d263d6eba88046debadc2d

View file

@ -280,6 +280,12 @@ GST_CHECK_FEATURE(V4L, [Video 4 Linux], v4lsrc v4lmjpegsrc v4lmjpegsink, [
AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_V4L="yes", HAVE_V4L="no", [#include <linux/videodev.h>]) AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_V4L="yes", HAVE_V4L="no", [#include <linux/videodev.h>])
]) ])
dnl *** Video 4 Linux 2***
translit(dnm, m, l) AM_CONDITIONAL(USE_V4L2, true)
GST_CHECK_FEATURE(V4L2, [Video 4 Linux 2], v4l2src, [
AC_CHECK_HEADER(linux/videodev2.h, HAVE_V4L2="yes", HAVE_V4L2="no")
])
dnl *** Video CD *** dnl *** Video CD ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VCD, true) translit(dnm, m, l) AM_CONDITIONAL(USE_VCD, true)
GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [ GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [
@ -936,6 +942,7 @@ sys/dxr3/Makefile
sys/oss/Makefile sys/oss/Makefile
sys/qcam/Makefile sys/qcam/Makefile
sys/v4l/Makefile sys/v4l/Makefile
sys/v4l2/Makefile
sys/vcd/Makefile sys/vcd/Makefile
sys/vga/Makefile sys/vga/Makefile
sys/xvideo/Makefile sys/xvideo/Makefile