Commit 5f9aa754 authored by Steve Lhomme's avatar Steve Lhomme

configure: remove check for a header not used in the code

Even if it's not found have_v4l2 will be set to "yes" anyway.

"For each given system header file header-file in the blank-separated argument
list that exists, define HAVE_header-file (in all capitals). If action-if-found
is given, it is additional shell code to execute when one of the header files
is found."
parent d22de99e
......@@ -1877,7 +1877,7 @@ AC_ARG_ENABLE(v4l2, [AS_HELP_STRING([--disable-v4l2],
[disable Video4Linux version 2 (default auto)])])
AS_IF([test "$enable_v4l2" != "no"], [
AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [
AC_CHECK_HEADERS([linux/videodev2.h], [
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