diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 49c7928..1873f02 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -93,6 +93,12 @@ AC_SUBST(gl_cocoa_libs) | |||
93 | EXPEDITE_CHECK_ENGINE([software-16-wince], [Software 16 bits WinCE], "yes", [wince_16_libs="-laygshell"]) | 93 | EXPEDITE_CHECK_ENGINE([software-16-wince], [Software 16 bits WinCE], "yes", [wince_16_libs="-laygshell"]) |
94 | AC_SUBST(wince_16_libs) | 94 | AC_SUBST(wince_16_libs) |
95 | 95 | ||
96 | # Wayland EGL | ||
97 | EXPEDITE_CHECK_ENGINE([wayland-egl], [Wayland EGL], "yes") | ||
98 | |||
99 | # Wayland SHM | ||
100 | EXPEDITE_CHECK_ENGINE([wayland-shm], [Wayland SHM], "yes") | ||
101 | |||
96 | ### Checks for programs | 102 | ### Checks for programs |
97 | 103 | ||
98 | AC_ISC_POSIX | 104 | AC_ISC_POSIX |
@@ -181,6 +187,25 @@ if test "x$have_directfb" = "xyes"; then | |||
181 | fi | 187 | fi |
182 | AM_CONDITIONAL(BUILD_DIRECTFB, test "x$have_directfb" = "xyes") | 188 | AM_CONDITIONAL(BUILD_DIRECTFB, test "x$have_directfb" = "xyes") |
183 | 189 | ||
190 | # Wayland | ||
191 | |||
192 | if test "x$want_wayland_egl" = "xyes" -o "x$want_wayland_shm" = "xyes"; then | ||
193 | PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client], [have_wl="yes"], [have_wl="no"]) | ||
194 | AM_CONDITIONAL(BUILD_WAYLAND, test "x$have_wl" = "xyes") | ||
195 | AM_CONDITIONAL(BUILD_WAYLAND_SHM, test "x$have_wl" = "xyes") | ||
196 | if test "x$have_wl" = "xyes"; then | ||
197 | AC_DEFINE(BUILD_WAYLAND, 1, [build wayland support]) | ||
198 | AC_DEFINE(BUILD_WAYLAND_SHM, 1, [build wayland SHM support]) | ||
199 | fi | ||
200 | |||
201 | if test "x$have_wl" = "xyes" -a "x$want_wayland_egl" = "xyes"; then | ||
202 | PKG_CHECK_MODULES([WAYLAND_EGL], [wayland-egl], [have_wl_egl="yes"], [have_wl_egl="no"]) | ||
203 | AM_CONDITIONAL(BUILD_WAYLAND_EGL, test "x$have_wl_egl" = "xyes") | ||
204 | if test "x$have_wl_egl" = "xyes"; then | ||
205 | AC_DEFINE(BUILD_WAYLAND_EGL, 1, [build wayland EGL support]) | ||
206 | fi | ||
207 | fi | ||
208 | fi | ||
184 | 209 | ||
185 | ### Checks for header files | 210 | ### Checks for header files |
186 | 211 | ||
@@ -267,6 +292,8 @@ echo " FB...........................: ${have_fb}" | |||
267 | echo " DirectFB.....................: ${have_directfb}" | 292 | echo " DirectFB.....................: ${have_directfb}" |
268 | echo " PSL1GHT......................: ${have_psl1ght}" | 293 | echo " PSL1GHT......................: ${have_psl1ght}" |
269 | echo " Software WinCE 16 bits.......: ${have_software_16_wince}" | 294 | echo " Software WinCE 16 bits.......: ${have_software_16_wince}" |
295 | echo " Wayland EGL..................: ${have_wl}" | ||
296 | echo " Wayland SHM..................: ${have_wl_egl}" | ||
270 | echo | 297 | echo |
271 | echo " Installation:" | 298 | echo " Installation:" |
272 | echo " prefix.......................: ${prefix}" | 299 | echo " prefix.......................: ${prefix}" |