summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2013-01-24 09:13:48 +0000
committerChristopher Michael <cpmichael1@comcast.net>2013-01-24 09:13:48 +0000
commit6f9d4f9fd44201ab9bf09a6805268578bcc17fed (patch)
tree79520c99b2779f5b0dec5caf25a9d4d223a0ed3f /m4
parent0c7425a0aa99edcbd34c73218174addacb05981e (diff)
Add wayland-client as a dependency for the evas wayland shm engine.
Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 83210
Diffstat (limited to 'm4')
-rw-r--r--m4/evas_check_engine.m435
1 files changed, 35 insertions, 0 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4
index 021b176..5e6655c 100644
--- a/m4/evas_check_engine.m4
+++ b/m4/evas_check_engine.m4
@@ -509,6 +509,41 @@ AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
509]) 509])
510 510
511 511
512dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
513
514AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM],
515[
516
517requirement=""
518have_dep="no"
519evas_engine_[]$1[]_cflags=""
520evas_engine_[]$1[]_libs=""
521
522PKG_CHECK_EXISTS([wayland-client],
523 [
524 have_dep="yes"
525 requirement="wayland-client"
526 ],
527 [have_dep="no"])
528
529if test "x${have_dep}" = "xyes" ; then
530 if test "x$3" = "xstatic" ; then
531 requirements_pc_evas="${requirement} ${requirements_pc_evas}"
532 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
533 else
534 PKG_CHECK_MODULES([WAYLAND_SHM], [${requirement}])
535 evas_engine_[]$1[]_cflags="${WAYLAND_SHM_CFLAGS}"
536 evas_engine_[]$1[]_libs="${WAYLAND_SHM_LIBS}"
537 fi
538fi
539
540AC_SUBST([evas_engine_$1_cflags])
541AC_SUBST([evas_engine_$1_libs])
542
543AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
544
545])
546
512dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 547dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
513 548
514AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL], 549AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL],