summaryrefslogtreecommitdiff
path: root/legacy/evas/m4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/evas/m4/evas_check_engine.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/legacy/evas/m4/evas_check_engine.m4 b/legacy/evas/m4/evas_check_engine.m4
index fbc9dd98aa..52b482ce7c 100644
--- a/legacy/evas/m4/evas_check_engine.m4
+++ b/legacy/evas/m4/evas_check_engine.m4
@@ -154,13 +154,13 @@ if test "x${have_dep}" = "xyes" ; then
154 evas_engine_gl_common_libs="-lGL -lpthread" 154 evas_engine_gl_common_libs="-lGL -lpthread"
155else 155else
156 if test "x$2" = "xyes" ; then 156 if test "x$2" = "xyes" ; then
157 x_libs="${x_libs} -lX11 -lXext" 157 x_libs="${x_libs} -lX11 -lXext -lXrender"
158 else 158 else
159 x_dir=${x_dir:-/usr/X11R6} 159 x_dir=${x_dir:-/usr/X11R6}
160 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}} 160 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
161 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11" 161 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
162 fi 162 fi
163 AC_CHECK_HEADERS([EGL/egl.h X11/X.h X11/Xlib.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" 165 have_gles20="no"
166 AC_CHECK_LIB(gles20, glTexImage2D, [have_gles20="yes"], , -lEGL) 166 AC_CHECK_LIB(gles20, glTexImage2D, [have_gles20="yes"], , -lEGL)