summaryrefslogtreecommitdiff
path: root/legacy/evas/m4/evas_check_engine.m4
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-10-27 00:00:52 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-10-27 00:00:52 +0000
commit3aee5f8bc0985b6903575da4cc38be7d7efb7d00 (patch)
tree21fc1050959030d82d569d65105d42a514242477 /legacy/evas/m4/evas_check_engine.m4
parentb0053e86fd5ad8daf0e29e7b86c410d7e9a7e88e (diff)
make gles autodetect work.
SVN revision: 53907
Diffstat (limited to '')
-rw-r--r--legacy/evas/m4/evas_check_engine.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index a0131e6eed..c3771b2d98 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -125,7 +125,7 @@ evas_engine_[]$1[]_libs=""
125AC_PATH_X 125AC_PATH_X
126AC_PATH_XTRA 126AC_PATH_XTRA
127 127
128AC_CHECK_HEADER([stdio.h], 128AC_CHECK_HEADER([GL/gl.h],
129 [have_dep="yes"], 129 [have_dep="yes"],
130 [have_dep="no"], 130 [have_dep="no"],
131 [ 131 [
@@ -181,7 +181,7 @@ else
181 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}} 181 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
182 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender" 182 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
183 fi 183 fi
184 AC_CHECK_HEADER([stdio.h], 184 AC_CHECK_HEADER([GLES2/gl2.h],
185 [have_egl="yes"], 185 [have_egl="yes"],
186 [have_egl="no"], 186 [have_egl="no"],
187 [ 187 [
@@ -553,7 +553,7 @@ if test "x$have_gl_pt" = "xyes" ; then
553 gl_pt_lib=" -lpthread" 553 gl_pt_lib=" -lpthread"
554fi 554fi
555 555
556AC_CHECK_HEADER([stdio.h], 556AC_CHECK_HEADER([GL/gl.h],
557 [have_dep="yes"], 557 [have_dep="yes"],
558 [have_dep="no"], 558 [have_dep="no"],
559 [ 559 [
@@ -570,7 +570,7 @@ if test "x${have_dep}" = "xyes" ; then
570 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib" 570 evas_engine_[]$1[]_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
571 evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib" 571 evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
572else 572else
573 AC_CHECK_HEADER([stdio.h], 573 AC_CHECK_HEADER([SDL/SDL_opengles.h],
574 [have_egl="yes"], 574 [have_egl="yes"],
575 [have_egl="no"], 575 [have_egl="no"],
576 [ 576 [