apparently some older (2.2) videodev.h files don't have some decls, so explicitly...
authorAndy Wingo <wingo@pobox.com>
Thu, 10 Jan 2002 04:55:38 +0000 (04:55 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 10 Jan 2002 04:55:38 +0000 (04:55 +0000)
Original commit message from CVS:
apparently some older (2.2) videodev.h files don't have some decls, so explicitly
check for them

configure.ac

index 9aad3e6..e528bc4 100644 (file)
@@ -287,7 +287,7 @@ GST_CHECK_FEATURE(QCAM, [QuickCam], qcamsrc, HAVE_QCAM="yes")
 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")
+  AC_CHECK_DECL(VID_TYPE_MPEG_ENCODER, HAVE_V4L="yes", HAVE_V4L="no", [#include <linux/videodev.h>])
 ])
 
 dnl *** Video CD ***