# Using EFL api's for WAYLAND AND X11 to run on ecore mainloop
if test "x$enable_efl" = "xyes"; then
if test "x$enable_wayland" = "xyes"; then
-PKG_CHECK_MODULES(WAYLAND, [ecore-wayland egl wayland-egl wayland-client >= 1.2.0 xkbcommon],
+PKG_CHECK_MODULES(WAYLAND, [ecore-wayland egl wayland-egl wayland-client >= 1.2.0 xkbcommon libtbm],
[DALI_USE_ECORE_WAYLAND=1],
[DALI_USE_ECORE_WAYLAND=0])
PKG_CHECK_MODULES(X11, [x11],
[DALI_USE_X11=1],
[DALI_USE_X11=0])
+PKG_CHECK_MODULES(UTILX, utilX)
fi
fi
# Using Wayland API directly ( main loop agnostic, typically for running on libuv)
# wayland-extension-client include xdg-shell-client
if test "x$enable_efl" = "xno"; then
if test "x$enable_wayland" = "xyes"; then
-PKG_CHECK_MODULES(WAYLAND, [ egl wayland-egl wayland-client >= 1.2.0 xkbcommon],
+PKG_CHECK_MODULES(WAYLAND, [ egl wayland-egl wayland-client >= 1.2.0 xkbcommon libtbm],
[DALI_USE_WAYLAND=1],
[DALI_USE_WAYLAND=0])
fi