diff options
author | Slávek Banko <[email protected]> | 2019-06-23 01:32:08 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-06-23 01:32:20 +0200 |
commit | 869dcee5ce16cd20042a919a56bea7e54a5bf1d8 (patch) | |
tree | 9e77f358a99668c175156df0df8923550f9ffd96 /kstars/configure.in.in | |
parent | 5c1789e2fd8066e4cd998d2e63e76acd105c4743 (diff) | |
download | tdeedu-869dcee5ce16cd20042a919a56bea7e54a5bf1d8.tar.gz tdeedu-869dcee5ce16cd20042a919a56bea7e54a5bf1d8.zip |
Fix "videodev.h" incorrect detection as header for V4L2.
This header is valid for V4L1.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit 7b8a190b623dc48ab4fc0867f0a0fd5d8cc4c2b1)
Diffstat (limited to 'kstars/configure.in.in')
-rw-r--r-- | kstars/configure.in.in | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kstars/configure.in.in b/kstars/configure.in.in index f5fad3c4..47982f44 100644 --- a/kstars/configure.in.in +++ b/kstars/configure.in.in @@ -88,17 +88,6 @@ case "$target" in [have_v4l2=false], [#include <sys/time.h> #include <linux/videodev2.h>]) - if test x$have_v4l2 = xfalse; then - unset ac_cv_type_struct_v4l2_buffer - AC_CHECK_TYPE([struct v4l2_buffer], - [have_v4l2=true], - [have_v4l2=false], - [#include <sys/time.h> - #include <linux/videodev.h>]) - if test x$have_v4l2 = xtrue; then - AC_DEFINE(HAVE_LINUX_ALTERNATE_VIDEODEV_H, 1, [Define to 1 if you have the <linux/videodev.h> header file.]) - fi - fi if test x$have_v4l2 = xfalse; then KERNEL_VERSION=`uname -r` AC_CHECK_FILE(/lib/modules/$KERNEL_VERSION/build/include/linux/videodev2.h, |