Change-Id: I98b85501b51091447d4e5bd515deda75336e6b28
Signed-off-by: Hyunil Park <hyunil46.park@samsung.com>
])
AC_PATH_PROG([wayland_scanner], [wayland-scanner])
-if test "x$HAVE_WAYLAND" = "xyes"; then
+
PKG_CHECK_MODULES(DRM, libdrm)
AC_SUBST(DRM_CFLAGS)
AC_SUBST(DRM_LIBS)
PKG_CHECK_MODULES(TBM, libtbm)
AC_SUBST(TBM_CFLAGS)
AC_SUBST(TBM_LIBS)
-fi
dnl **** WebP ****
translit(dnm, m, l) AM_CONDITIONAL(USE_WEBP, true)
BuildRequires: pkgconfig(libpng) >= 1.2
BuildRequires: pkgconfig(openssl) >= 0.9.5
BuildRequires: pkgconfig(sndfile) >= 1.0.16
-%if %{with wayland}
-BuildRequires: pkgconfig(wayland-client) >= 1.0.0
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libtbm)
+%if %{with wayland}
+BuildRequires: pkgconfig(wayland-client) >= 1.0.0
%endif
%if %{with x}
BuildRequires: pkgconfig(x11)