[vlc-commits] Revert "v4l2: check if kernel headers are recent enough"
Rémi Denis-Courmont
git at videolan.org
Tue Jan 24 19:31:57 CET 2012
vlc/vlc-1.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 24 18:47:21 2012 +0200| [3917c663169218d4a72e7181d8f56326fb276a02] | committer: Jean-Baptiste Kempf
Revert "v4l2: check if kernel headers are recent enough"
This reverts commit 5740099f6ffea9bc72f64ccd2870453e61ee77b2.
This caused autoconf errors and besides I still do not agree.
(cherry picked from commit f94107eb9ab0045116a901947141575ed53b199d)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=3917c663169218d4a72e7181d8f56326fb276a02
---
configure.ac | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index 664ee1f..81a0d3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1875,18 +1875,7 @@ AC_ARG_ENABLE(pvr, [AS_HELP_STRING([--enable-pvr],
[support PVR V4L2 cards (default disabled)])])
have_v4l2="no"
AC_CHECK_HEADERS([linux/videodev2.h sys/videoio.h], [
- AC_PREPROC_IFELSE([
- #ifdef __linux__
- # include <linux/version.h>
- # if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
- # error Kernel headers too old
- # endif
- #endif
- ], [
- have_v4l2="yes"
- ], [
- AC_MSG_WARN([Kernel headers too old for V4L2 module. You need at least 2.6.32])
- ])
+ have_v4l2="yes"
])
AS_IF([test "$have_v4l2" = "yes"], [
AS_IF([test "${enable_libv4l2}" != "no"], [
More information about the vlc-commits
mailing list