Enable both of Ubuntu build and Tizen GBS build 55/170755/1
authordongsug.song <dongsug.song@samsung.com>
Thu, 22 Feb 2018 03:53:39 +0000 (12:53 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 22 Feb 2018 03:53:39 +0000 (12:53 +0900)
Change-Id: I65b11ac66567d87045bc05f9ec3b6c4f9416cb0b
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
configure.ac

index dcedcc8..e54f733 100755 (executable)
@@ -20,12 +20,14 @@ AC_ARG_ENABLE(tizenBuild,
 
 AM_CONDITIONAL([TIZENBUILD], [test x$enable_tizenBuild = xyes])
 
-# Checks for libraries.
-PKG_CHECK_MODULES([DALI], [dali-core dali-adaptor dali-toolkit widget_viewer_dali])
-
+PKG_PROG_PKG_CONFIG
+# Checks for libraries. added for widget_viewer_dali binding only for tizen
 # added for key grab binding only for tizen
 if test x$enable_tizenBuild = xyes; then
+  PKG_CHECK_MODULES(DALI, dali-core dali-adaptor dali-toolkit widget_viewer_dali)
   PKG_CHECK_MODULES(ECORE_WAYLAND, ecore-wayland)
+else
+  PKG_CHECK_MODULES(DALI, dali-core dali-adaptor dali-toolkit)
 fi
 
 AC_CONFIG_FILES([