From f038c972dc653c435f3f0f7907667da0118ee6fa Mon Sep 17 00:00:00 2001 From: Jeongmo Yang Date: Mon, 7 Oct 2024 12:43:43 +0900 Subject: [PATCH] Set missed condition variable for TV product [Version] 1.3.1 [Issue Type] Bug fix Change-Id: Ibb8b10e49732d12d68906da037e0cd9b5bea3661 Signed-off-by: Jeongmo Yang --- configure.ac | 13 ++++++------- packaging/libmm-camcorder.spec | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 9f53fb7..3ff9787 100644 --- a/configure.ac +++ b/configure.ac @@ -117,17 +117,15 @@ AC_SUBST(RI_CFLAGS) AC_SUBST(RI_LIBS) fi -AM_CONDITIONAL([RM_SUPPORT], [test "x$RM_SUPPORT" = "xyes"]) - AC_ARG_ENABLE(rm-common, AC_HELP_STRING([--enable-rm-common], [enable rm common]), [ case "${enableval}" in - yes) RM_SUPPORT=yes ;; - no) RM_SUPPORT=no ;; + yes) RM_COMMON_SUPPORT=yes ;; + no) RM_COMMON_SUPPORT=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-rm-common) ;; esac -],[RM_SUPPORT=no]) -if test "x$RM_SUPPORT" = "xyes"; then +],[RM_COMMON_SUPPORT=no]) +if test "x$RM_COMMON_SUPPORT" = "xyes"; then PKG_CHECK_MODULES(RM, resource-manager) AC_SUBST(RM_CFLAGS) AC_SUBST(RM_LIBS) @@ -136,7 +134,8 @@ PKG_CHECK_MODULES(RI, resource-information) AC_SUBST(RI_CFLAGS) AC_SUBST(RI_LIBS) fi -AM_CONDITIONAL([RM_SUPPORT], [test "x$RM_SUPPORT" = "xyes"]) + +AM_CONDITIONAL([RM_SUPPORT], [test "x$RM_SUPPORT" = "xyes" || test "x$RM_COMMON_SUPPORT" = "xyes"]) AC_ARG_ENABLE(camera-conf-mgr-tv, AC_HELP_STRING([--enable-camera-conf-mgr-tv], [enable camera-conf-mgr-tv]), [ diff --git a/packaging/libmm-camcorder.spec b/packaging/libmm-camcorder.spec index 40e4bf6..bd8aada 100755 --- a/packaging/libmm-camcorder.spec +++ b/packaging/libmm-camcorder.spec @@ -1,6 +1,6 @@ Name: libmm-camcorder Summary: Camera and recorder library -Version: 1.3.0 +Version: 1.3.1 Release: 0 Group: Multimedia/Libraries License: Apache-2.0 -- 2.7.4