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 3ec5a0a054
commit 657579947e
2 changed files with 16 additions and 4 deletions

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>])
])
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 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VCD, true)
GST_CHECK_FEATURE(VCD, [Video CD], vcdsrc, [
@ -936,6 +942,7 @@ sys/dxr3/Makefile
sys/oss/Makefile
sys/qcam/Makefile
sys/v4l/Makefile
sys/v4l2/Makefile
sys/vcd/Makefile
sys/vga/Makefile
sys/xvideo/Makefile

View file

@ -22,6 +22,12 @@ else
V4L_DIR=
endif
if USE_V4L2
V4L2_DIR=v4l2
else
V4L2_DIR=
endif
if USE_VCD
VCD_DIR=vcd
else
@ -46,8 +52,7 @@ else
CDROM_DIR=
endif
SUBDIRS=$(DXR3_DIR) $(OSS_DIR) $(QCAM_DIR) $(V4L_DIR) $(VCD_DIR) \
$(VGA_DIR) $(XVIDEO_DIR) $(CDROM_DIR)
DIST_SUBDIRS=dxr3 oss qcam v4l vcd vga xvideo videosink cdrom
SUBDIRS=$(DXR3_DIR) $(OSS_DIR) $(QCAM_DIR) $(V4L_DIR) $(V4L2_DIR) \
$(VCD_DIR) $(VGA_DIR) $(XVIDEO_DIR) $(CDROM_DIR)
DIST_SUBDIRS=dxr3 oss qcam v4l v4l2 vcd vga xvideo videosink cdrom