[PATCH 1/5] configure: Check for libv4l2.
Zebediah Figura
z.figura12 at gmail.com
Tue Apr 9 23:06:34 CDT 2019
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
configure.ac | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/configure.ac b/configure.ac
index ef0a2612ff..31dd472533 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,6 +82,7 @@ AC_ARG_WITH(sdl, AS_HELP_STRING([--without-sdl],[do not use SDL]))
AC_ARG_WITH(tiff, AS_HELP_STRING([--without-tiff],[do not use TIFF]))
AC_ARG_WITH(udev, AS_HELP_STRING([--without-udev],[do not use udev (plug and play support)]))
AC_ARG_WITH(v4l, AS_HELP_STRING([--without-v4l],[do not use v4l1 (v4l support)]))
+AC_ARG_WITH(v4l2, AS_HELP_STRING([--without-v4l2],[do not use v4l2 (video capture)]))
AC_ARG_WITH(vkd3d, AS_HELP_STRING([--without-vkd3d],[do not use vkd3d (Direct3D 12 support)]))
AC_ARG_WITH(vulkan, AS_HELP_STRING([--without-vulkan],[do not use Vulkan]))
AC_ARG_WITH(xcomposite,AS_HELP_STRING([--without-xcomposite],[do not use the Xcomposite extension]),
@@ -1425,6 +1426,14 @@ fi
WINE_NOTICE_WITH(v4l,[test "x$ac_cv_lib_soname_v4l1" = "x"],
[libv4l ${notice_platform}development files not found.])
+dnl **** Check for libv4l2 ****
+if test "x$with_v4l2" != "xno"
+then
+ WINE_CHECK_SONAME(v4l2,v4l2_open,,,)
+fi
+WINE_NOTICE_WITH(v4l2,[test "x$ac_cv_lib_soname_v4l2" = "x"],
+ [libv4l2 ${notice_platform}development files not found.])
+
dnl **** Check for libgphoto2 ****
if test "x$with_gphoto" != "xno"
then
--
2.21.0
More information about the wine-devel
mailing list