[Version] 1.3.1
[Issue Type] Bug fix
Change-Id: Ibb8b10e49732d12d68906da037e0cd9b5bea3661
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
-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
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
*) 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)
PKG_CHECK_MODULES(RM, resource-manager)
AC_SUBST(RM_CFLAGS)
AC_SUBST(RM_LIBS)
AC_SUBST(RI_CFLAGS)
AC_SUBST(RI_LIBS)
fi
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]),
[
AC_ARG_ENABLE(camera-conf-mgr-tv, AC_HELP_STRING([--enable-camera-conf-mgr-tv], [enable camera-conf-mgr-tv]),
[
Name: libmm-camcorder
Summary: Camera and recorder library
Name: libmm-camcorder
Summary: Camera and recorder library
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0