diff options
author | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-08-03 14:34:57 +0200 |
---|---|---|
committer | Nicolas Aguirre <aguirre.nicolas@gmail.com> | 2015-08-03 14:34:57 +0200 |
commit | d990a7b12a748f35f34af98d8dc7e19a70e44d8e (patch) | |
tree | 473980d28b53a63ff53af639c6abbcb7e7cccd04 /m4/evas_check_engine.m4 | |
parent | c1a483f2af687d3d3e6e3df6fa190b887c1b1a39 (diff) |
Revert "Adds support of the eglfs module in the autotools config"
This reverts commit 3b2074aa710a095c2379702334bfa125bcc1990a.
Diffstat (limited to '')
-rw-r--r-- | m4/evas_check_engine.m4 | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4 index 504d9f30d7..8165aa2344 100644 --- a/m4/evas_check_engine.m4 +++ b/m4/evas_check_engine.m4 | |||
@@ -661,49 +661,6 @@ AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5]) | |||
661 | 661 | ||
662 | ]) | 662 | ]) |
663 | 663 | ||
664 | dnl use: EVAS_CHECK_ENGINE_DEP_EGLFS(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) | ||
665 | |||
666 | AC_DEFUN([EVAS_CHECK_ENGINE_DEP_EGLFS], | ||
667 | [ | ||
668 | |||
669 | requirement="" | ||
670 | have_dep="no" | ||
671 | have_hw_dep="no" | ||
672 | evas_engine_[]$1[]_cflags="" | ||
673 | evas_engine_[]$1[]_libs="" | ||
674 | |||
675 | if test "x${with_opengl}" = "xes" ; then | ||
676 | gl_library="glesv2" | ||
677 | else | ||
678 | AC_MSG_ERROR([We do not support Eglfs without OpenGL ES. Please consider OpenGL ES if you want to use it.]) | ||
679 | fi | ||
680 | |||
681 | PKG_CHECK_EXISTS([egl >= 7.10 ${gl_library}], | ||
682 | [ | ||
683 | have_dep="yes" | ||
684 | requirement="egl >= 7.10 ${gl_library}" | ||
685 | ], | ||
686 | [have_dep="no"]) | ||
687 | |||
688 | if test "x${have_dep}" = "xyes" ; then | ||
689 | if test "x$3" = "xstatic" ; then | ||
690 | requirements_pc_evas="${requirement} ${requirements_pc_evas}" | ||
691 | requirements_pc_deps_evas="${requirement} ${requirements_pc_deps_evas}" | ||
692 | else | ||
693 | PKG_CHECK_MODULES([EGLFS], [${requirement}]) | ||
694 | evas_engine_[]$1[]_cflags="${EGLFS_CFLAGS}" | ||
695 | evas_engine_[]$1[]_libs="${EGLFS_LIBS}" | ||
696 | evas_engine_gl_common_libs="$evas_engine_[]$1[]_libdirs -lGLESv2 -lm -lEGL" | ||
697 | fi | ||
698 | fi | ||
699 | |||
700 | AC_SUBST([evas_engine_$1_cflags]) | ||
701 | AC_SUBST([evas_engine_$1_libs]) | ||
702 | |||
703 | AS_IF([test "x${have_dep}" = "xyes"], [$4], [$5]) | ||
704 | |||
705 | ]) | ||
706 | |||
707 | 664 | ||
708 | dnl use: EVAS_ENGINE(name, want_engine, [DEPENDENCY-CHECK-CODE]) | 665 | dnl use: EVAS_ENGINE(name, want_engine, [DEPENDENCY-CHECK-CODE]) |
709 | dnl | 666 | dnl |