aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/m4
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-04-22 09:19:23 +1000
committerDavid Walter Seikel2012-04-22 09:19:23 +1000
commitc963d75dfdeec11f82e79e727062fbf89afa2c04 (patch)
tree895633dbf641110be46f117c29890c49b3ffc0bd /libraries/evas/m4
parentAdding the new extantz viewer and grid manager. (diff)
downloadSledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.zip
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.gz
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.bz2
SledjHamr-c963d75dfdeec11f82e79e727062fbf89afa2c04.tar.xz
Update EFL to latest beta.
Diffstat (limited to 'libraries/evas/m4')
-rw-r--r--libraries/evas/m4/efl_attribute.m44
-rw-r--r--libraries/evas/m4/efl_fnmatch.m42
-rw-r--r--libraries/evas/m4/evas_check_engine.m466
-rw-r--r--libraries/evas/m4/evas_check_loader.m46
4 files changed, 17 insertions, 61 deletions
diff --git a/libraries/evas/m4/efl_attribute.m4 b/libraries/evas/m4/efl_attribute.m4
index aeb6a68..1f3a040 100644
--- a/libraries/evas/m4/efl_attribute.m4
+++ b/libraries/evas/m4/efl_attribute.m4
@@ -67,7 +67,7 @@ AC_COMPILE_IFELSE(
67 [AC_LANG_PROGRAM( 67 [AC_LANG_PROGRAM(
68 [[ 68 [[
69#include <windows.h> 69#include <windows.h>
70__forceinline void foo(void) {} 70static __forceinline void foo(void) {}
71 ]], 71 ]],
72 [[ 72 [[
73 ]])], 73 ]])],
@@ -84,7 +84,7 @@ if test "x${have_attribute_always_inline}" = "xno" ; then
84 AC_COMPILE_IFELSE( 84 AC_COMPILE_IFELSE(
85 [AC_LANG_PROGRAM( 85 [AC_LANG_PROGRAM(
86 [[ 86 [[
87__attribute__((__always_inline__)) inline void foo(void) {} 87static __attribute__((__always_inline__)) inline void foo(void) {}
88 ]], 88 ]],
89 [[ 89 [[
90 ]])], 90 ]])],
diff --git a/libraries/evas/m4/efl_fnmatch.m4 b/libraries/evas/m4/efl_fnmatch.m4
index a92ac6b..c857046 100644
--- a/libraries/evas/m4/efl_fnmatch.m4
+++ b/libraries/evas/m4/efl_fnmatch.m4
@@ -13,7 +13,7 @@ AC_CHECK_HEADER([fnmatch.h], [_efl_have_fnmatch="yes"], [_efl_have_fnmatch="no"]
13 13
14if test "x${_efl_have_fnmatch}" = "xyes" ; then 14if test "x${_efl_have_fnmatch}" = "xyes" ; then
15 AC_SEARCH_LIBS([fnmatch], 15 AC_SEARCH_LIBS([fnmatch],
16 [fnmatch evil iberty], 16 [fnmatch evil exotic iberty],
17 [_efl_have_fnmatch="yes"], 17 [_efl_have_fnmatch="yes"],
18 [_efl_have_fnmatch="no"]) 18 [_efl_have_fnmatch="no"])
19fi 19fi
diff --git a/libraries/evas/m4/evas_check_engine.m4 b/libraries/evas/m4/evas_check_engine.m4
index 4fc13a9..6275795 100644
--- a/libraries/evas/m4/evas_check_engine.m4
+++ b/libraries/evas/m4/evas_check_engine.m4
@@ -131,7 +131,7 @@ if test "x$gl_flavor_gles" = "xyes" ; then
131fi 131fi
132 132
133if test "x${have_dep}" = "xyes" ; then 133if test "x${have_dep}" = "xyes" ; then
134 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 134 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
135 if test "x${have_dep}" = "xyes" ; then 135 if test "x${have_dep}" = "xyes" ; then
136 if test "x$2" = "xyes" ; then 136 if test "x$2" = "xyes" ; then
137 x_libs="${x_libs} -lX11 -lXext -lXrender" 137 x_libs="${x_libs} -lX11 -lXext -lXrender"
@@ -168,13 +168,12 @@ else
168 if test "x${have_egl}" = "xyes" ; then 168 if test "x${have_egl}" = "xyes" ; then
169 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib) 169 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib)
170 if test "x${have_glesv2}" = "xyes" ; then 170 if test "x${have_glesv2}" = "xyes" ; then
171 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 171 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
172 if test "x${have_dep}" = "xyes" ; then 172 if test "x${have_dep}" = "xyes" ; then
173 evas_engine_[]$1[]_cflags="${x_cflags}" 173 evas_engine_[]$1[]_cflags="${x_cflags}"
174 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 174 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
175 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 175 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
176 have_dep="yes" 176 have_dep="yes"
177 gl_flavor_gles="no"
178 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 177 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
179 gles_variety_sgx="yes" 178 gles_variety_sgx="yes"
180 fi 179 fi
@@ -306,7 +305,7 @@ if test "x$gl_flavor_gles" = "xyes" ; then
306fi 305fi
307 306
308if test "x${have_dep}" = "xyes" ; then 307if test "x${have_dep}" = "xyes" ; then
309 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 308 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
310 if test "x${have_dep}" = "xyes" ; then 309 if test "x${have_dep}" = "xyes" ; then
311 if test "x$2" = "xyes" ; then 310 if test "x$2" = "xyes" ; then
312 x_libs="${x_libs} -lX11 -lXext -lXrender" 311 x_libs="${x_libs} -lX11 -lXext -lXrender"
@@ -338,13 +337,12 @@ else
338 if test "x${have_egl}" = "xyes" ; then 337 if test "x${have_egl}" = "xyes" ; then
339 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib) 338 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lm $gl_pt_lib)
340 if test "x${have_glesv2}" = "xyes" ; then 339 if test "x${have_glesv2}" = "xyes" ; then
341 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 340 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
342 if test "x${have_dep}" = "xyes" ; then 341 if test "x${have_dep}" = "xyes" ; then
343 evas_engine_[]$1[]_cflags="${XCB_GL_CFLAGS} ${x_cflags}" 342 evas_engine_[]$1[]_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
344 evas_engine_[]$1[]_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib" 343 evas_engine_[]$1[]_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
345 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 344 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
346 have_dep="yes" 345 have_dep="yes"
347 gl_flavor_gles="no"
348 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 346 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
349 gles_variety_sgx="yes" 347 gles_variety_sgx="yes"
350 fi 348 fi
@@ -483,7 +481,7 @@ LIBS="$LIBS_save"
483AC_LANG_POP([Objective C]) 481AC_LANG_POP([Objective C])
484 482
485if test "x${have_dep}" = "xyes" ; then 483if test "x${have_dep}" = "xyes" ; then
486 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 484 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
487fi 485fi
488 486
489AC_SUBST([evas_engine_$1_cflags]) 487AC_SUBST([evas_engine_$1_cflags])
@@ -497,43 +495,6 @@ fi
497 495
498]) 496])
499 497
500
501dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
502
503AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_SDL],
504[
505
506requirement=""
507have_dep="no"
508evas_engine_[]$1[]_cflags=""
509evas_engine_[]$1[]_libs=""
510
511PKG_CHECK_MODULES([SDL],
512 [sdl >= 1.2.0],
513 [
514 have_dep="yes"
515 requirement="sdl"
516 evas_engine_[]$1[]_cflags="${SDL_CFLAGS}"
517 evas_engine_[]$1[]_libs="${SDL_LIBS}"
518 ]
519)
520
521AC_SUBST([evas_engine_$1_cflags])
522AC_SUBST([evas_engine_$1_libs])
523
524if test "x$3" = "xstatic" ; then
525 requirement_evas="${requirement} ${requirement_evas}"
526fi
527
528if test "x${have_dep}" = "xyes" ; then
529 m4_default([$4], [:])
530else
531 m4_default([$5], [:])
532fi
533
534])
535
536
537dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 498dnl use: EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL(engine, simple, want_static[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
538 499
539AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL], 500AC_DEFUN([EVAS_CHECK_ENGINE_DEP_SOFTWARE_16_SDL],
@@ -645,7 +606,6 @@ else
645 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib" 606 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
646 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib" 607 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
647 have_dep="yes" 608 have_dep="yes"
648 gl_flavor_gles="no"
649 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support]) 609 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
650 gles_variety_sgx="yes" 610 gles_variety_sgx="yes"
651 fi 611 fi
@@ -918,16 +878,12 @@ PKG_CHECK_MODULES([WAYLAND_EGL],
918) 878)
919 879
920if test "x${have_dep}" = "xyes" ; then 880if test "x${have_dep}" = "xyes" ; then
921 PKG_CHECK_MODULES([GL_EET], [eet >= 1.5.0], [have_dep="yes"], [have_dep="no"]) 881 PKG_CHECK_MODULES([GL_EET], [eet >= 1.6.0], [have_dep="yes"], [have_dep="no"])
922 AC_CHECK_HEADER([GLES2/gl2.h], 882 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL -lm)
923 [have_egl="yes"], 883 if test "x${have_glesv2}" = "xyes" ; then
924 [have_egl="no"], 884 evas_engine_[]$1[]_cflags="${WAYLAND_EGL_CFLAGS}"
925 [ 885 evas_engine_[]$1[]_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
926 ]) 886 fi
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
931fi 887fi
932 888
933AC_SUBST([evas_engine_$1_cflags]) 889AC_SUBST([evas_engine_$1_cflags])
diff --git a/libraries/evas/m4/evas_check_loader.m4 b/libraries/evas/m4/evas_check_loader.m4
index e1fb5a9..a265094 100644
--- a/libraries/evas/m4/evas_check_loader.m4
+++ b/libraries/evas/m4/evas_check_loader.m4
@@ -37,7 +37,7 @@ have_dep="no"
37evas_image_loader_[]$1[]_cflags="" 37evas_image_loader_[]$1[]_cflags=""
38evas_image_loader_[]$1[]_libs="" 38evas_image_loader_[]$1[]_libs=""
39 39
40PKG_CHECK_MODULES([EET], [eet >= 1.5.0], [have_dep="yes" requirement="eet >= 1.4.0"], [have_dep="no"]) 40PKG_CHECK_MODULES([EET], [eet >= 1.6.0], [have_dep="yes" requirement="eet >= 1.4.0"], [have_dep="no"])
41evas_image_loader_[]$1[]_cflags="${EET_CFLAGS}" 41evas_image_loader_[]$1[]_cflags="${EET_CFLAGS}"
42evas_image_loader_[]$1[]_libs="${EET_LIBS}" 42evas_image_loader_[]$1[]_libs="${EET_LIBS}"
43 43
@@ -542,7 +542,7 @@ AC_MSG_CHECKING([whether to enable Eet font loader])
542AC_MSG_RESULT([${want_loader}]) 542AC_MSG_RESULT([${want_loader}])
543 543
544if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then 544if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
545 PKG_CHECK_MODULES([EET], [eet >= 1.5.0], [have_evas_font_loader_eet="yes"], [have_evas_font_loader_eet="no"]) 545 PKG_CHECK_MODULES([EET], [eet >= 1.6.0], [have_evas_font_loader_eet="yes"], [have_evas_font_loader_eet="no"])
546fi 546fi
547 547
548if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then 548if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
@@ -551,7 +551,7 @@ fi
551 551
552if test "x$have_evas_font_loader_eet" = "xyes" ; then 552if test "x$have_evas_font_loader_eet" = "xyes" ; then
553 AC_DEFINE([BUILD_FONT_LOADER_EET], [1], [EET Font Loader Support]) 553 AC_DEFINE([BUILD_FONT_LOADER_EET], [1], [EET Font Loader Support])
554 requirement_evas="eet >= 1.5.0 ${requirement_evas}" 554 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
555fi 555fi
556 556
557popdef([UP]) 557popdef([UP])