summaryrefslogtreecommitdiff
path: root/legacy/evas/m4/evas_check_engine.m4
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2009-10-12 03:31:24 +0000
committerCarsten Haitzler <raster@rasterman.com>2009-10-12 03:31:24 +0000
commit8bd109e8ce1745b940d88eb17d37d8dfb49bb186 (patch)
tree3af028aeae11eb201681d87191eea3bb654b2b0e /legacy/evas/m4/evas_check_engine.m4
parenta60f577446d01bc1e8db7142721d252f2d6a2dbd (diff)
update build for gles on s3c6410 testing
SVN revision: 43030
Diffstat (limited to '')
-rw-r--r--legacy/evas/m4/evas_check_engine.m430
1 files changed, 19 insertions, 11 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index 52b482ce7c..8f268249ab 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -162,24 +162,32 @@ else
162 fi 162 fi
163 AC_CHECK_HEADERS([EGL/egl.h X11/X.h X11/Xlib.h X11/extensions/Xrender.h], [have_egl="yes"]) 163 AC_CHECK_HEADERS([EGL/egl.h X11/X.h X11/Xlib.h X11/extensions/Xrender.h], [have_egl="yes"])
164 if test "x${have_egl}" = "xyes" ; then 164 if test "x${have_egl}" = "xyes" ; then
165 have_gles20="no"
166 AC_CHECK_LIB(gles20, glTexImage2D, [have_gles20="yes"], , -lEGL)
167 if test "x${have_gles20}" = "xyes" ; then
168 evas_engine_[]$1[]_cflags="${x_cflags}"
169 evas_engine_[]$1[]_libs="${x_libs} -lgles20 -lEGL"
170 AC_DEFINE(GLES_VARIETY_S3C6410, 1, [Samsung S3c6410 GLES2 support])
171 evas_engine_gl_common_libs="-lgles20"
172 have_dep="yes"
173 fi
174 have_glesv2="no"
175 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lpthread -lm) 165 AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lpthread -lm)
176 if test "x${have_glesv2}" = "xyes" ; then 166 if test "x${have_glesv2}" = "xyes" ; then
177 evas_engine_[]$1[]_cflags="${x_cflags}" 167 evas_engine_[]$1[]_cflags="${x_cflags}"
178 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lpthread -lm -lEGL" 168 evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lpthread -lm -lEGL"
179 AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
180 evas_engine_gl_common_libs="-lGLESv2 -lpthread -lm" 169 evas_engine_gl_common_libs="-lGLESv2 -lpthread -lm"
181 have_dep="yes" 170 have_dep="yes"
182 fi 171 fi
172dnl samsung s3c6410 libs changed to be like the sgx ones. need a variety option
173dnl have_gles20="no"
174dnl AC_CHECK_LIB(gles20, glTexImage2D, [have_gles20="yes"], , -lEGL)
175dnl if test "x${have_gles20}" = "xyes" ; then
176dnl evas_engine_[]$1[]_cflags="${x_cflags}"
177dnl evas_engine_[]$1[]_libs="${x_libs} -lgles20 -lEGL"
178dnl AC_DEFINE(GLES_VARIETY_S3C6410, 1, [Samsung S3c6410 GLES2 support])
179dnl evas_engine_gl_common_libs="-lgles20"
180dnl have_dep="yes"
181dnl fi
182dnl have_glesv2="no"
183dnl AC_CHECK_LIB(GLESv2, glTexImage2D, [have_glesv2="yes"], , -lEGL ${x_libs} -lpthread -lm)
184dnl if test "x${have_glesv2}" = "xyes" ; then
185dnl evas_engine_[]$1[]_cflags="${x_cflags}"
186dnl evas_engine_[]$1[]_libs="${x_libs} -lGLESv2 -lpthread -lm -lEGL"
187dnl AC_DEFINE(GLES_VARIETY_SGX, 1, [Imagination SGX GLES2 support])
188dnl evas_engine_gl_common_libs="-lGLESv2 -lpthread -lm"
189dnl have_dep="yes"
190dnl fi
183 fi 191 fi
184fi 192fi
185 193