diff options
author | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-23 23:30:42 +1000 |
commit | 825a3d837a33f226c879cd02ad15c3fba57e8b2c (patch) | |
tree | 75f57bd9c4253508d338dc79ba8e57a7abc42255 /libraries/evas/m4 | |
parent | Add ability to disable the test harness, or the Lua compile test. (diff) | |
download | SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.zip SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.gz SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.bz2 SledjHamr-825a3d837a33f226c879cd02ad15c3fba57e8b2c.tar.xz |
Update the EFL to what I'm actually using, coz I'm using some stuff not yet released.
Diffstat (limited to '')
-rw-r--r-- | libraries/evas/m4/evas_check_engine.m4 | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/libraries/evas/m4/evas_check_engine.m4 b/libraries/evas/m4/evas_check_engine.m4 index 5294100..4fc13a9 100644 --- a/libraries/evas/m4/evas_check_engine.m4 +++ b/libraries/evas/m4/evas_check_engine.m4 | |||
@@ -873,6 +873,79 @@ fi | |||
873 | 873 | ||
874 | ]) | 874 | ]) |
875 | 875 | ||
876 | |||
877 | dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) | ||
878 | |||
879 | AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_SHM], | ||
880 | [ | ||
881 | |||
882 | have_dep="yes" | ||
883 | evas_engine_[]$1[]_cflags="" | ||
884 | evas_engine_[]$1[]_libs="" | ||
885 | |||
886 | AC_SUBST([evas_engine_$1_cflags]) | ||
887 | AC_SUBST([evas_engine_$1_libs]) | ||
888 | |||
889 | if test "x${have_dep}" = "xyes" ; then | ||
890 | m4_default([$4], [:]) | ||
891 | else | ||
892 | m4_default([$5], [:]) | ||
893 | fi | ||
894 | |||
895 | ]) | ||
896 | |||
897 | |||
898 | dnl use: EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) | ||
899 | |||
900 | AC_DEFUN([EVAS_CHECK_ENGINE_DEP_WAYLAND_EGL], | ||
901 | [ | ||
902 | |||
903 | requirement="" | ||
904 | have_dep="no" | ||
905 | evas_engine_[]$1[]_cflags="" | ||
906 | evas_engine_[]$1[]_libs="" | ||
907 | |||
908 | PKG_CHECK_MODULES([WAYLAND_EGL], | ||
909 | [egl >= 7.10 glesv2 gl wayland-client wayland-egl], | ||
910 | [ | ||
911 | have_dep="yes" | ||
912 | requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl" | ||
913 | evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" | ||
914 | evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS}" | ||
915 | ],[ | ||
916 | have_dep="no" | ||
917 | ] | ||
918 | ) | ||
919 | |||
920 | if test "x${have_dep}" = "xyes" ; then | ||
921 | PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) | ||
922 | AC_CHECK_HEADER([GLES2/gl2.h], | ||
923 | [have_egl="yes"], | ||
924 | [have_egl="no"], | ||
925 | [ | ||
926 | ]) | ||
927 | if test "x${have_egl}" = "xyes" ; then | ||
928 | evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}" | ||
929 | evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL" | ||
930 | fi | ||
931 | fi | ||
932 | |||
933 | AC_SUBST([evas_engine_$1_cflags]) | ||
934 | AC_SUBST([evas_engine_$1_libs]) | ||
935 | |||
936 | if test "x$3" = "xstatic" ; then | ||
937 | requirement_evas="${requirement} ${requirement_evas}" | ||
938 | fi | ||
939 | |||
940 | if test "x${have_dep}" = "xyes" ; then | ||
941 | m4_default([$4], [:]) | ||
942 | else | ||
943 | m4_default([$5], [:]) | ||
944 | fi | ||
945 | |||
946 | ]) | ||
947 | |||
948 | |||
876 | dnl use: EVAS_CHECK_ENGINE(engine, want_engine, simple, description) | 949 | dnl use: EVAS_CHECK_ENGINE(engine, want_engine, simple, description) |
877 | 950 | ||
878 | 951 | ||