X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=build%2Ftizen%2Fadaptor-uv%2Fconfigure.ac;h=e61fccfb6384cb5b0f91e00d5f2ba29443e16143;hb=187c803816b8a8327d7d126e57eb606f30572d05;hp=b81e4a95dc504d4294602f3267e5b1ad28eaa2f5;hpb=d5b7eabbbb33ffe46371cb7061996d33cf66eb93;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/build/tizen/adaptor-uv/configure.ac b/build/tizen/adaptor-uv/configure.ac index b81e4a9..e61fccf 100644 --- a/build/tizen/adaptor-uv/configure.ac +++ b/build/tizen/adaptor-uv/configure.ac @@ -189,13 +189,13 @@ AC_ARG_WITH([tizen-2-2-compatibility], # Tizen Profile options AC_ARG_ENABLE([profile], - [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,UBUNTU], + [AC_HELP_STRING([--enable-profile=COMMON,MOBILE,WEARABLE,TV,IVI,UBUNTU], [Select the variant of tizen])], [enable_profile=$enableval], [enable_profile=UBUNTU]) # Ensure valid profile selected -if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xUBUNTU"; then +if test "x$enable_profile" != "xCOMMON" -a "x$enable_profile" != "xMOBILE" -a "x$enable_profile" != "xWEARABLE" -a "x$enable_profile" != "xTV" -a "x$enable_profile" != "xIVI" -a "x$enable_profile" != "xUBUNTU"; then AC_MSG_ERROR([$enable_profile is an invalid profile]) fi @@ -210,6 +210,7 @@ AM_CONDITIONAL([COMMON_PROFILE], [test x$enable_profile = xCOMMON]) AM_CONDITIONAL([MOBILE_PROFILE], [test x$enable_profile = xMOBILE]) AM_CONDITIONAL([WEARABLE_PROFILE], [test x$enable_profile = xWEARABLE]) AM_CONDITIONAL([TV_PROFILE], [test x$enable_profile = xTV]) +AM_CONDITIONAL([IVI_PROFILE], [test x$enable_profile = xIVI]) AM_CONDITIONAL([UBUNTU_PROFILE], [test x$enable_profile = xUBUNTU]) AM_CONDITIONAL([WAYLAND], [test x$enable_wayland = xyes]) AM_CONDITIONAL([USE_EFL], [test x$enable_efl = xyes]) @@ -242,6 +243,10 @@ if test "x$enable_profile" = "xTV"; then PKG_CHECK_MODULES(OPENGLES20, glesv2) fi +if test "x$enable_profile" = "xIVI"; then +PKG_CHECK_MODULES(OPENGLES20, glesv2) +fi + if test "x$enable_profile" = "xUBUNTU"; then PKG_CHECK_MODULES(OPENGLES20, glesv2 egl) else @@ -284,15 +289,10 @@ fi else -# dali-adaptor-uv for MOBILE profile needs ecore-wayland even if enable_efl==no -# because adaptors/mobile/pixmap-render-surface-factory.cpp uses it. -if test "x$enable_profile" = "xMOBILE"; then +# For adaptors/mobile/native-render-surface-factory.cpp PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) -fi -if test "x$enable_profile" = "xWEARABLE"; then -PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) -fi -if test "x$enable_profile" = "xCOMMON"; then + +if test "x$enable_profile" = "xIVI"; then PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland) fi @@ -307,6 +307,13 @@ PKG_CHECK_MODULES(WAYLAND, [ egl wayland-egl wayland-client >= 1.2.0 xkbcommon l fi fi +# remove this when we update common repos +# common profile currently does not have wayland extensions like xdg-shell +if test "x$enable_wayland" = "xyes"; then +if test "x$enable_profile" != "xCOMMON"; then +PKG_CHECK_MODULES(WAYLAND_EXTENSION, xdg-shell-client text-client input-method-client) +fi +fi AM_CONDITIONAL([USE_ECORE_WAYLAND], [test "$DALI_USE_ECORE_WAYLAND" -eq 1]) if test x$DALI_DATA_RW_DIR != x; then @@ -325,11 +332,18 @@ if test x$FONT_CONFIGURATION_FILE != x; then fontConfigurationFile=$FONT_CONFIGURATION_FILE fi +if test x$TIZEN_PLATFORM_CONFIG_SUPPORTED != x; then + tizenPlatformConfigSupported=$TIZEN_PLATFORM_CONFIG_SUPPORTED +else + tizenPlatformConfigSupported=0 +fi + AC_SUBST(dataReadWriteDir) AC_SUBST(dataReadOnlyDir) AC_SUBST(DALI_ADAPTOR_CFLAGS) AC_SUBST(DALI_PROFILE_CFLAGS) AC_SUBST(fontConfigurationFile) +AC_SUBST(tizenPlatformConfigSupported) # Specify the include directory for development headers #devincludepath=${includedir}/dali/internal @@ -367,7 +381,9 @@ Configuration Font config file: $fontConfigurationFile Building with EFL Libraries: $enable_efl Using Tizen APP FW libraries: $enable_appfw - OpenGL ES version: $enable_gles" + OpenGL ES version: $enable_gles + Tizen Platform Config supported: $tizenPlatformConfigSupported +" # optional output of node.js source path if we're building with libuv if test "x$build_for_libuv" != "xno"; then echo " LibUV header path $with_libuv"