Browse Source

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."
pull/69/head
Steve Lhomme 8 years ago
parent
commit
5f9aa754cf
  1. 2
      configure.ac

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

Loading…
Cancel
Save