summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-01-10 04:55:38 +0000
committerAndy Wingo <wingo@pobox.com>2002-01-10 04:55:38 +0000
commitcd5fcd38501937ed1a933272f69333bef53d094a (patch)
tree35028af221fbc84bb46dc5a58562b441d04b504d
parentcce1fb13d6d0adbdad4a3711130dbbe0789e8acd (diff)
apparently some older (2.2) videodev.h files don't have some decls, so explicitly check for them
Original commit message from CVS: apparently some older (2.2) videodev.h files don't have some decls, so explicitly check for them
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9aad3e60..e528bc43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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 ***