summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorFlorent Revest <revestflo@gmail.com>2015-07-22 18:50:13 +0200
committerNicolas Aguirre <aguirre.nicolas@gmail.com>2015-08-03 14:16:35 +0200
commit3b2074aa710a095c2379702334bfa125bcc1990a (patch)
tree2673713c2270e2b00060c28fe0b9b862640bd6f9 /configure.ac
parent270215889d5ba4e93f9ec05cfa9a9510a345c96c (diff)
Adds support of the eglfs module in the autotools config
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac19
1 files changed, 19 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7975e55755..b1e3896e23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1415,6 +1415,19 @@ AC_ARG_ENABLE([fb],
1415 ], 1415 ],
1416 [want_fb="no"]) 1416 [want_fb="no"])
1417 1417
1418# Eglfs
1419AC_ARG_ENABLE([eglfs],
1420 [AS_HELP_STRING([--enable-eglfs],[enable hardware accelerated framebuffer access. @<:@default=disabled@:>@])],
1421 [
1422 if test "x${enableval}" = "xyes" ; then
1423 want_eglfs="yes"
1424 want_fb="yes"
1425 else
1426 want_eglfs="no"
1427 fi
1428 ],
1429 [want_eglfs="no"])
1430
1418# SDL 1431# SDL
1419AC_ARG_ENABLE([sdl], 1432AC_ARG_ENABLE([sdl],
1420 [AS_HELP_STRING([--enable-sdl],[enable SDL support. @<:@default=disabled@:>@])], 1433 [AS_HELP_STRING([--enable-sdl],[enable SDL support. @<:@default=disabled@:>@])],
@@ -1851,6 +1864,7 @@ EVAS_CHECK_ENGINE([wayland-egl], [${want_evas_engine_wayland_egl}], [no], [Wayla
1851EVAS_CHECK_ENGINE([wayland-shm], [${want_wayland}], [no], [Wayland Shm]) 1864EVAS_CHECK_ENGINE([wayland-shm], [${want_wayland}], [no], [Wayland Shm])
1852EVAS_CHECK_ENGINE([drm], [${want_drm}], [no], [Drm]) 1865EVAS_CHECK_ENGINE([drm], [${want_drm}], [no], [Drm])
1853EVAS_CHECK_ENGINE([gl-drm], [${want_gl_drm}], [no], [OpenGL Drm]) 1866EVAS_CHECK_ENGINE([gl-drm], [${want_gl_drm}], [no], [OpenGL Drm])
1867EVAS_CHECK_ENGINE([eglfs], [${want_eglfs}], [no], [OpenGL Fb])
1854 1868
1855 1869
1856# Software XCB 1870# Software XCB
@@ -2007,6 +2021,7 @@ if test "x$have_evas_engine_gl_xlib" = "xyes" || \
2007 test "x$have_evas_engine_gl_sdl" = "xyes" || \ 2021 test "x$have_evas_engine_gl_sdl" = "xyes" || \
2008 test "x$have_evas_engine_gl_cocoa" = "xyes" || \ 2022 test "x$have_evas_engine_gl_cocoa" = "xyes" || \
2009 test "x$have_evas_engine_gl_drm" = "xyes" || \ 2023 test "x$have_evas_engine_gl_drm" = "xyes" || \
2024 test "x$have_evas_engine_eglfs" = "xyes" || \
2010 test "x$have_evas_engine_wayland_egl" = "xyes"; then 2025 test "x$have_evas_engine_wayland_egl" = "xyes"; then
2011 have_evas_engine_gl_common="yes" 2026 have_evas_engine_gl_common="yes"
2012fi 2027fi
@@ -2015,6 +2030,7 @@ if test "x$have_evas_engine_gl_xlib" = "xstatic" || \
2015 test "x$have_evas_engine_gl_sdl" = "xstatic" || \ 2030 test "x$have_evas_engine_gl_sdl" = "xstatic" || \
2016 test "x$have_evas_engine_gl_cocoa" = "xstatic" || \ 2031 test "x$have_evas_engine_gl_cocoa" = "xstatic" || \
2017 test "x$have_evas_engine_gl_drm" = "xstatic" || \ 2032 test "x$have_evas_engine_gl_drm" = "xstatic" || \
2033 test "x$have_evas_engine_eglfs" = "xstatic" || \
2018 test "x$have_evas_engine_wayland_egl" = "xstatic"; then 2034 test "x$have_evas_engine_wayland_egl" = "xstatic"; then
2019 have_evas_engine_gl_common="yes" 2035 have_evas_engine_gl_common="yes"
2020 have_static_evas_engine_gl_common="yes" 2036 have_static_evas_engine_gl_common="yes"
@@ -3890,6 +3906,7 @@ want_ecore_evas_gl_cocoa="${have_evas_engine_gl_cocoa}"
3890want_ecore_evas_wayland_egl="${have_evas_engine_wayland_egl}" 3906want_ecore_evas_wayland_egl="${have_evas_engine_wayland_egl}"
3891want_ecore_evas_extn="yes" 3907want_ecore_evas_extn="yes"
3892want_ecore_evas_drm="${have_evas_engine_drm}" 3908want_ecore_evas_drm="${have_evas_engine_drm}"
3909want_ecore_evas_eglfs="${have_evas_engine_eglfs}"
3893 3910
3894if test "x${have_ecore_ipc}" = "xno" || \ 3911if test "x${have_ecore_ipc}" = "xno" || \
3895 test "x${efl_func_shm_open}" = "xno" || \ 3912 test "x${efl_func_shm_open}" = "xno" || \
@@ -3917,6 +3934,7 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [emile])
3917ECORE_EVAS_MODULE([extn], [${want_ecore_evas_extn}]) 3934ECORE_EVAS_MODULE([extn], [${want_ecore_evas_extn}])
3918ECORE_EVAS_MODULE([ews], [yes]) 3935ECORE_EVAS_MODULE([ews], [yes])
3919ECORE_EVAS_MODULE([fb], [${want_fb}]) 3936ECORE_EVAS_MODULE([fb], [${want_fb}])
3937ECORE_EVAS_MODULE([eglfs], [${want_eglfs}])
3920ECORE_EVAS_MODULE([drm], [${want_drm}], 3938ECORE_EVAS_MODULE([drm], [${want_drm}],
3921 [EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm])]) 3939 [EFL_OPTIONAL_INTERNAL_DEPEND_PKG([ECORE_EVAS], [${want_drm}], [ecore-drm])])
3922ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}], 3940ECORE_EVAS_MODULE([gl-drm], [${want_gl_drm}],
@@ -4701,6 +4719,7 @@ pc/eolian-cxx.pc
4701pc/efl.pc 4719pc/efl.pc
4702pc/efl-cxx.pc 4720pc/efl-cxx.pc
4703pc/evas-fb.pc 4721pc/evas-fb.pc
4722pc/evas-eglfs.pc
4704pc/evas-opengl-x11.pc 4723pc/evas-opengl-x11.pc
4705pc/evas-opengl-sdl.pc 4724pc/evas-opengl-sdl.pc
4706pc/evas-opengl-cocoa.pc 4725pc/evas-opengl-cocoa.pc