forked from enlightenment/efl
Add wayland-client as a dependency for the evas wayland shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83210
This commit is contained in:
parent
0c7425a0aa
commit
6f9d4f9fd4
|
@ -509,6 +509,41 @@ AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
|
|||
])
|
||||
|
||||
|
||||
dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||
|
||||
AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM],
|
||||
[
|
||||
|
||||
requirement=""
|
||||
have_dep="no"
|
||||
evas_engine_[]$1[]_cflags=""
|
||||
evas_engine_[]$1[]_libs=""
|
||||
|
||||
PKG_CHECK_EXISTS([wayland-client],
|
||||
[
|
||||
have_dep="yes"
|
||||
requirement="wayland-client"
|
||||
],
|
||||
[have_dep="no"])
|
||||
|
||||
if test "x${have_dep}" = "xyes" ; then
|
||||
if test "x$3" = "xstatic" ; then
|
||||
requirements_pc_evas="${requirement} ${requirements_pc_evas}"
|
||||
requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
|
||||
else
|
||||
PKG_CHECK_MODULES([WAYLAND_SHM], [${requirement}])
|
||||
evas_engine_[]$1[]_cflags="${WAYLAND_SHM_CFLAGS}"
|
||||
evas_engine_[]$1[]_libs="${WAYLAND_SHM_LIBS}"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST([evas_engine_$1_cflags])
|
||||
AC_SUBST([evas_engine_$1_libs])
|
||||
|
||||
AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
|
||||
|
||||
])
|
||||
|
||||
dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
|
||||
|
||||
AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL],
|
||||
|
|
Loading…
Reference in New Issue