diff options
author | Jeongmo Yang <jm80.yang@samsung.com> | 2024-09-12 17:52:19 +0900 |
---|---|---|
committer | Jeongmo Yang <jm80.yang@samsung.com> | 2024-09-12 18:13:47 +0900 |
commit | 172cdbe1d8ce48121ebf0a7ad33a2ec572053aad (patch) | |
tree | 739a8c3d47e8d6c850474a500ee2621f5d3c7398 /configure.ac | |
parent | 130e9f03e105671991116a30d376bba3e81f83dc (diff) | |
download | camera-v4l2-accepted/tizen_unified_x_asan.tar.gz camera-v4l2-accepted/tizen_unified_x_asan.tar.bz2 camera-v4l2-accepted/tizen_unified_x_asan.zip |
workaround: Add libv4l2 dependency for compatibilitytizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20241014.000441accepted/tizen/unified/x/20240913.062836accepted/tizen/unified/toolchain/20241004.102039accepted/tizen/unified/dev/20240919.040411accepted/tizen/unified/20240913.042634accepted/tizen/9.0/unified/20241030.233706tizen_9.0accepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_9.0_unified
- The I420 format is needed for some TC,
but it's not supported when libv4l2 dependency is removed with Logitech C920 webcam.
So, libv4l2 dependency is added for temporary,
and it will be removed later.
[Version] 1.3.2
[Issue Type] Compatibility
Change-Id: Ife16b7ac3fdec0ce9bc4aa32799bff438dbde738
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index fe7779d..9bdd6e8 100644 --- a/configure.ac +++ b/configure.ac @@ -23,9 +23,38 @@ AC_HEADER_TIME AC_PROG_GCC_TRADITIONAL AC_PROG_LIBTOOL -PKG_CHECK_MODULES(HAL_ROOTSTRAP, hal-rootstrap) -AC_SUBST(HAL_ROOTSTRAP_CFLAGS) -AC_SUBST(HAL_ROOTSTRAP_LIBS) +PKG_CHECK_MODULES(GLIB, glib-2.0) +AC_SUBST(GLIB_CFLAGS) +AC_SUBST(GLIB_LIBS) + +PKG_CHECK_MODULES(TBM, libtbm) +AC_SUBST(TBM_CFLAGS) +AC_SUBST(TBM_LIBS) + +PKG_CHECK_MODULES(DLOG, dlog) +AC_SUBST(DLOG_CFLAGS) +AC_SUBST(DLOG_LIBS) + +PKG_CHECK_MODULES(HAL_API_COMMON, hal-api-common) +AC_SUBST(HAL_API_COMMON_CFLAGS) + +PKG_CHECK_MODULES(HAL_API_CAMERA, hal-api-camera) +AC_SUBST(HAL_API_CAMERA_CFLAGS) + +AC_ARG_ENABLE(libv4l2, AC_HELP_STRING([--enable-libv4l2], [enable libv4l2]), +[ + case "${enableval}" in + yes) HAVE_LIBV4L2=yes ;; + no) HAVE_LIBV4L2=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-libv4l2) ;; + esac +],[HAVE_LIBV4L2=no]) +if test "x$HAVE_LIBV4L2" = "xyes"; then +PKG_CHECK_MODULES(LIBV4L2, libv4l2) +AC_SUBST(LIBV4L2_CFLAGS) +AC_SUBST(LIBV4L2_LIBS) +fi +AM_CONDITIONAL([HAVE_LIBV4L2], [test "x$HAVE_LIBV4L2" = "xyes"]) # Checks for header files. AC_HEADER_STDC |