added v4l handling

Original commit message from CVS:
added v4l handling
This commit is contained in:
Thomas Vander Stichele 2001-12-20 20:37:57 +00:00
parent 0d6ef558ad
commit e6bbd8d8d9
2 changed files with 19 additions and 12 deletions

View file

@ -416,6 +416,12 @@ GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no") AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no")
]) ])
dnl *** Video 4 Linux ***
translit(dnm, m, l) AM_CONDITIONAL(USE_V4L, true)
GST_CHECK_FEATURE(V4L, [Video 4 Linux], v4lsrc, [
AC_CHECK_HEADER(linux/videodev.h, HAVE_V4L="yes", HAVE_V4L="no")
])
dnl *** VGA *** dnl *** VGA ***
translit(dnm, m, l) AM_CONDITIONAL(USE_VGA, true) translit(dnm, m, l) AM_CONDITIONAL(USE_VGA, true)
GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [ GST_CHECK_FEATURE(VGA, [VGA], vgavideosink, [
@ -762,11 +768,6 @@ AC_CHECK_HEADER(linux/cdrom.h,
HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no HAVE_LINUX_CDROM=yes, HAVE_LINUX_CDROM=no
) )
dnl Check for linux/videodev.h
AC_CHECK_HEADER(linux/videodev.h,
HAVE_LINUX_VIDEODEV=yes, HAVE_LINUX_VIDEODEV=no
)
dnl ###################################################################### dnl ######################################################################
dnl # Check command line parameters, and set shell variables accordingly # dnl # Check command line parameters, and set shell variables accordingly #

View file

@ -1,17 +1,23 @@
### FIXME use HAVE_ stuff to decide on dirs ### FIXME use HAVE_ stuff to decide on dirs
if USE_VGA
VGA_SUBDS=vga
else
VGA_SUBDS=
endif
if USE_OSS if USE_OSS
OSS_SUBDS=oss OSS_SUBDS=oss
else else
OSS_SUBDS= OSS_SUBDS=
endif endif
SUBDIRS=$(OSS_SUBDS) qcam v4l vcd $(VGA_SUBDS) xvideo if USE_V4L
V4L_SUBDS=v4l
else
V4L_SUBDS=
endif
if USE_VGA
VGA_SUBDS=vga
else
VGA_SUBDS=
endif
SUBDIRS=$(OSS_SUBDS) qcam $(V4L_SUBDS) vcd $(VGA_SUBDS) xvideo
DIST_SUBDIRS=oss qcam v4l vcd vga xvideo DIST_SUBDIRS=oss qcam v4l vcd vga xvideo