configure: remove flawed V4L2 detection logic

This commit is contained in:
Rémi Denis-Courmont 2011-08-16 21:03:06 +03:00
parent 6739e224d0
commit 621a3ed71c
1 changed files with 0 additions and 4 deletions

View File

@ -2037,10 +2037,6 @@ have_v4l2="no"
AS_IF([test "${enable_v4l2}" != "no"], [
AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [
have_v4l2="yes"
], [
AS_IF([test "x${enable_v4l2}" != "x"], [
AC_MSG_ERROR([Video4Linux2 headers not found!])
])
])
])
AM_CONDITIONAL(HAVE_V4L2, [test "${have_v4l2}" != "no"])