Commit 621a3ed7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

configure: remove flawed V4L2 detection logic

parent 6739e224
...@@ -2037,10 +2037,6 @@ have_v4l2="no" ...@@ -2037,10 +2037,6 @@ have_v4l2="no"
AS_IF([test "${enable_v4l2}" != "no"], [ AS_IF([test "${enable_v4l2}" != "no"], [
AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [ AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [
have_v4l2="yes" 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"]) AM_CONDITIONAL(HAVE_V4L2, [test "${have_v4l2}" != "no"])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment