aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCedric BAIL <c.bail@partner.samsung.com>2014-07-11 15:15:42 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-11 15:32:51 +0200
commit79ea41b2056ff55fa95b7f31232bbab820ad19f4 (patch)
tree46b366ae28f3bec8fcbfa5e7393f20c620176fda /configure.ac
parentevas: add gl_generic backend. (diff)
downloadefl-79ea41b2056ff55fa95b7f31232bbab820ad19f4.tar.gz
autotools: turn on build for gl_generic backend.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d6ad390d7f..4a943133ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1755,7 +1755,12 @@ fi
# OpenGL common
evas_engine_gl_common_cflags=""
-evas_engine_gl_common_libs=""
+if text "x${have_egl}" = "xyes"; then
+ evas_engine_gl_common_libs="-lEGL"
+else
+ evas_engine_gl_common_libs="-lGL"
+fi
+
AC_SUBST([evas_engine_gl_common_cflags])
AC_SUBST([evas_engine_gl_common_libs])