summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/evas_check_engine.m429
1 files changed, 5 insertions, 24 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4
index 5dc333f6f2..8165aa2344 100644
--- a/m4/evas_check_engine.m4
+++ b/m4/evas_check_engine.m4
@@ -601,24 +601,7 @@ have_hw_dep="no"
601evas_engine_[]$1[]_cflags="" 601evas_engine_[]$1[]_cflags=""
602evas_engine_[]$1[]_libs="" 602evas_engine_[]$1[]_libs=""
603 603
604if test "x${with_opengl}" = "xes" ; then
605 gl_library="glesv2"
606else
607 gl_library="gl"
608fi
609
610if test "x${have_dep}" = "xyes" ; then 604if test "x${have_dep}" = "xyes" ; then
611 AC_MSG_CHECKING([whether to enable Drm hardware acceleration])
612 if test "x${want_drm_hw_accel}" = "xyes" ; then
613 PKG_CHECK_EXISTS([egl >= 7.10 ${gl_library}],
614 [
615 have_hw_dep="yes"
616 requirement="egl >= 7.10 ${gl_library}"
617 ],
618 [have_hw_dep="no"])
619 fi
620 AC_MSG_RESULT([${have_hw_dep}])
621
622 if test "x$3" = "xstatic" ; then 605 if test "x$3" = "xstatic" ; then
623 requirements_pc_evas="${requirement} ${requirements_pc_evas}" 606 requirements_pc_evas="${requirement} ${requirements_pc_evas}"
624 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}" 607 requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}"
@@ -628,12 +611,6 @@ if test "x${have_dep}" = "xyes" ; then
628 fi 611 fi
629fi 612fi
630 613
631if test "x${have_hw_dep}" = "xyes" ; then
632 AC_DEFINE(HAVE_DRM_HW_ACCEL, [1],
633 [Enabled drm hardware accelerated rendering])
634fi
635
636
637AC_SUBST([evas_engine_$1_cflags]) 614AC_SUBST([evas_engine_$1_cflags])
638AC_SUBST([evas_engine_$1_libs]) 615AC_SUBST([evas_engine_$1_libs])
639 616
@@ -652,7 +629,11 @@ have_hw_dep="no"
652evas_engine_[]$1[]_cflags="" 629evas_engine_[]$1[]_cflags=""
653evas_engine_[]$1[]_libs="" 630evas_engine_[]$1[]_libs=""
654 631
655gl_library="glesv2" 632if test "x${with_opengl}" = "xes" ; then
633 gl_library="glesv2"
634else
635 AC_MSG_ERROR([We currently do not support GL DRM without OpenGL ES. Please consider OpenGL ES if you want to use it.])
636fi
656 637
657PKG_CHECK_EXISTS([egl >= 7.10 ${gl_library} gbm wayland-client >= 1.3.0], 638PKG_CHECK_EXISTS([egl >= 7.10 ${gl_library} gbm wayland-client >= 1.3.0],
658 [ 639 [