summaryrefslogtreecommitdiff
path: root/m4/evas_check_engine.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/evas_check_engine.m4')
-rw-r--r--m4/evas_check_engine.m434
1 files changed, 0 insertions, 34 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4
index 6e4ef4f..7362377 100644
--- a/m4/evas_check_engine.m4
+++ b/m4/evas_check_engine.m4
@@ -599,40 +599,6 @@ AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
599 599
600]) 600])
601 601
602dnl use: EVAS_CHECK_ENGINE_DEP_DIRECTFB(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
603
604AC_DEFUN([EVAS_CHECK_ENGINE_DEP_DIRECTFB],
605[
606
607requirement=""
608have_dep="no"
609evas_engine_[]$1[]_cflags=""
610evas_engine_[]$1[]_libs=""
611
612PKG_CHECK_EXISTS([directfb >= 0.9.16],
613 [
614 have_dep="yes"
615 requirement="directfb >= 0.9.16"
616 ],
617 [have_dep="no"])
618
619if test "x${have_dep}" = "xyes" ; then
620 if test "x$3" = "xstatic" ; then
621 requirements_pc_evas="${requirement} ${requirements_pc_evas}"
622 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
623 else
624 PKG_CHECK_MODULES([DIRECTFB], [${requirement}])
625 evas_image_loader_[]$1[]_cflags="${DIRECTFB_CFLAGS}"
626 evas_image_loader_[]$1[]_libs="${DIRECTFB_LIBS}"
627 fi
628fi
629
630AC_SUBST([evas_engine_$1_cflags])
631AC_SUBST([evas_engine_$1_libs])
632
633AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5])
634
635])
636 602
637dnl use: EVAS_CHECK_ENGINE_DEP_PSL1GHT(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 603dnl use: EVAS_CHECK_ENGINE_DEP_PSL1GHT(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
638 604