From 5f9aa754cf4e72e4428d4e7e11413fd0ab77dadd Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Thu, 12 Apr 2018 13:27:46 +0200 Subject: [PATCH] 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." --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ea06dce0b6..a3758704ac 100644 --- a/configure.ac +++ b/configure.ac @@ -1877,7 +1877,7 @@ AC_ARG_ENABLE(v4l2, [AS_HELP_STRING([--disable-v4l2], [disable Video4Linux version 2 (default auto)])]) have_v4l2="no" AS_IF([test "$enable_v4l2" != "no"], [ - AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [ + AC_CHECK_HEADERS([linux/videodev2.h], [ have_v4l2="yes" ]) ])