summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2003-01-21 14:41:09 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2003-01-21 14:41:09 +0000
commit16fdca71ffa1ee5c2ba8a64d161e3ed99378abee (patch)
tree3c08eb8892d4cdc02433c30f3517083bf8b74747 /configure.ac
parent22bd17cb15eb3a4003410a606be97076e65ed41c (diff)
downloadxine-lib-16fdca71ffa1ee5c2ba8a64d161e3ed99378abee.tar.gz
xine-lib-16fdca71ffa1ee5c2ba8a64d161e3ed99378abee.tar.bz2
Add some autoconf tests, so that the video-for-linux input plugin is not
compiled on solaris. CVS patchset: 3983 CVS date: 2003/01/21 14:41:09
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index eccda25cc..30c0fb38c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,6 +326,13 @@ AC_SUBST(GLU_LIBS)
AM_CONDITIONAL(HAVE_OPENGL, [ test x$ac_have_opengl = "xyes" -a x$ac_have_glut="xyes" -o x$ac_have_opengl = "xyes" -a x$ac_have_glu="xyes" ] )
+dnl ----------------------------------------------
+dnl Check for usable video-for-linux (v4l) support
+dnl ----------------------------------------------
+AC_CHECK_HEADER(linux/videodev.h, have_v4l=yes,)
+AM_CONDITIONAL(HAVE_V4L, [test x"$have_v4l" = "xyes"])
+
+
host_or_hostalias="$host"
if test "$host_or_hostalias" = ""; then