aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2015-07-21 18:09:04 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-11-03 07:37:41 +0100
commitff1e7b50834e183f336fd427298981c6a9ebf7e8 (patch)
treee59bf2d0016280ebc26b4c29cb7c9709439cea3c /configure.ac
parentadd wayland egl client support (diff)
downloadenlightenment-ff1e7b50834e183f336fd427298981c6a9ebf7e8.tar.gz
Adds eglfs to Enlightenment
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6ab4e8761..c40bc2f31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -822,6 +822,17 @@ define([CHECK_MODULE_WL_FB],
])
AM_CONDITIONAL([HAVE_WL_FB], [test "x${WL_FB}" = "xtrue"])
+WL_EGLFS=false
+define([CHECK_MODULE_WL_EGLFS],
+[
+ if test "x${have_wayland}" = "xyes" ; then
+ AC_E_CHECK_PKG(WL_EGLFS, [ ecore-fb >= $efl_version ecore >= $efl_version eina >= $efl_version ], [WL_EGLFS=true], [WL_EGLFS=false])
+ else
+ WL_EGLFS=false
+ fi
+])
+AM_CONDITIONAL([HAVE_WL_EGLFS], [test "x${WL_EGLFS}" = "xtrue"])
+
WL_DRM=false
define([CHECK_MODULE_WL_DRM],
[
@@ -918,6 +929,7 @@ AC_E_OPTIONAL_MODULE([wl_desktop_shell], $have_wayland, [CHECK_MODULE_WL_DESKTOP
AC_E_OPTIONAL_MODULE([wl_x11], $have_wayland, [CHECK_MODULE_WL_X11])
AC_E_OPTIONAL_MODULE([wl_wl], $have_wayland, [CHECK_MODULE_WL_WL])
#AC_E_OPTIONAL_MODULE([wl_fb], $have_wayland, [CHECK_MODULE_WL_FB])
+AC_E_OPTIONAL_MODULE([wl_eglfs], $have_wayland, [CHECK_MODULE_WL_EGLFS])
AC_E_OPTIONAL_MODULE([wl_drm], $have_wayland, [CHECK_MODULE_WL_DRM])
AC_E_OPTIONAL_MODULE([wl_text_input], $have_wayland, [CHECK_MODULE_WL_TEXT_INPUT])
AC_E_OPTIONAL_MODULE([wl_weekeyboard], $have_wayland, [CHECK_MODULE_WL_WEEKEYBOARD])