[vlc-commits] configure: remove check for a header not used in the code

Steve Lhomme git at videolan.org
Thu Apr 12 13:27:50 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Apr 12 13:27:46 2018 +0200| [5f9aa754cf4e72e4428d4e7e11413fd0ab77dadd] | committer: 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."

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f9aa754cf4e72e4428d4e7e11413fd0ab77dadd
---

 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"
   ])
 ])



More information about the vlc-commits mailing list