Kristian Høgsberg | af4f2aa | 2013-02-15 20:53:20 -0500 | [diff] [blame] | 1 | m4_define([weston_major_version], [1]) |
Kristian Høgsberg | a684b5a | 2013-07-13 01:30:00 -0400 | [diff] [blame] | 2 | m4_define([weston_minor_version], [2]) |
Kristian Høgsberg | c4a4c6b | 2013-08-28 22:16:10 -0700 | [diff] [blame] | 3 | m4_define([weston_micro_version], [90]) |
Kristian Høgsberg | af4f2aa | 2013-02-15 20:53:20 -0500 | [diff] [blame] | 4 | m4_define([weston_version], |
| 5 | [weston_major_version.weston_minor_version.weston_micro_version]) |
| 6 | |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 7 | AC_PREREQ([2.64]) |
Kristian Høgsberg | a7313e7 | 2012-02-08 16:35:12 -0500 | [diff] [blame] | 8 | AC_INIT([weston], |
Kristian Høgsberg | af4f2aa | 2013-02-15 20:53:20 -0500 | [diff] [blame] | 9 | [weston_version], |
| 10 | [https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=weston_version], |
Kristian Høgsberg | a7313e7 | 2012-02-08 16:35:12 -0500 | [diff] [blame] | 11 | [weston], |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 12 | [http://wayland.freedesktop.org/]) |
| 13 | |
Kristian Høgsberg | af4f2aa | 2013-02-15 20:53:20 -0500 | [diff] [blame] | 14 | AC_SUBST([WESTON_VERSION_MAJOR], [weston_major_version]) |
| 15 | AC_SUBST([WESTON_VERSION_MINOR], [weston_minor_version]) |
| 16 | AC_SUBST([WESTON_VERSION_MICRO], [weston_micro_version]) |
| 17 | AC_SUBST([WESTON_VERSION], [weston_version]) |
| 18 | |
Kristian Høgsberg | d0c3b9d | 2010-10-25 11:40:03 -0400 | [diff] [blame] | 19 | AC_CONFIG_HEADERS([config.h]) |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 20 | |
Daniel Stone | c228e23 | 2013-05-22 18:03:19 +0300 | [diff] [blame] | 21 | AC_USE_SYSTEM_EXTENSIONS |
Kristian Høgsberg | 7e105f9 | 2013-08-21 15:44:57 -0700 | [diff] [blame] | 22 | AC_SYS_LARGEFILE |
Daniel Stone | c228e23 | 2013-05-22 18:03:19 +0300 | [diff] [blame] | 23 | |
Kristian Høgsberg | 383b60f | 2013-02-28 11:19:10 -0500 | [diff] [blame] | 24 | AM_INIT_AUTOMAKE([1.11 parallel-tests foreign no-dist-gzip dist-xz color-tests]) |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 25 | |
Kristian Høgsberg | f0152da | 2010-10-12 17:24:20 -0400 | [diff] [blame] | 26 | AM_SILENT_RULES([yes]) |
Kristian Høgsberg | d4de54e | 2008-12-04 22:48:50 -0500 | [diff] [blame] | 27 | |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 28 | # Check for programs |
| 29 | AC_PROG_CC |
Pekka Paalanen | a91291c | 2012-08-29 15:49:48 +0300 | [diff] [blame] | 30 | AC_PROG_SED |
Javier Jardón | 5b7e43a | 2010-11-06 01:55:27 +0100 | [diff] [blame] | 31 | |
Kristian Høgsberg | 02ec0a5 | 2011-04-23 13:04:11 -0400 | [diff] [blame] | 32 | # Initialize libtool |
| 33 | LT_PREREQ([2.2]) |
Kristian Høgsberg | 1c56218 | 2011-05-02 22:09:20 -0400 | [diff] [blame] | 34 | LT_INIT([disable-static]) |
Kristian Høgsberg | 02ec0a5 | 2011-04-23 13:04:11 -0400 | [diff] [blame] | 35 | |
Pekka Paalanen | a51e6fa | 2012-11-07 12:25:12 +0200 | [diff] [blame] | 36 | AC_ARG_VAR([WESTON_NATIVE_BACKEND], |
| 37 | [Set the native backend to use, if Weston is not running under Wayland nor X11. @<:@default=drm-backend.so@:>@]) |
| 38 | |
Kristian Høgsberg | d4de54e | 2008-12-04 22:48:50 -0500 | [diff] [blame] | 39 | PKG_PROG_PKG_CONFIG() |
Kristian Høgsberg | d4de54e | 2008-12-04 22:48:50 -0500 | [diff] [blame] | 40 | |
Kristian Høgsberg | 02ec0a5 | 2011-04-23 13:04:11 -0400 | [diff] [blame] | 41 | AC_CHECK_FUNC([dlopen], [], |
| 42 | AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl")) |
| 43 | AC_SUBST(DLOPEN_LIBS) |
| 44 | |
Rob Bradford | 5a4cea9 | 2013-06-04 13:23:01 +0100 | [diff] [blame] | 45 | AC_CHECK_DECL(SFD_CLOEXEC,[], |
| 46 | [AC_MSG_ERROR("SFD_CLOEXEC is needed to compile weston")], |
| 47 | [[#include <sys/signalfd.h>]]) |
| 48 | AC_CHECK_DECL(TFD_CLOEXEC,[], |
| 49 | [AC_MSG_ERROR("TFD_CLOEXEC is needed to compile weston")], |
| 50 | [[#include <sys/timerfd.h>]]) |
| 51 | AC_CHECK_DECL(CLOCK_MONOTONIC,[], |
| 52 | [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile weston")], |
| 53 | [[#include <time.h>]]) |
Pekka Paalanen | 200019c | 2012-05-30 15:53:42 +0300 | [diff] [blame] | 54 | AC_CHECK_HEADERS([execinfo.h]) |
| 55 | |
Quentin Glidic | 735302e | 2013-06-19 15:27:11 +0200 | [diff] [blame] | 56 | AC_CHECK_FUNCS([mkostemp strchrnul initgroups]) |
Pekka Paalanen | 1da1b8f | 2012-06-06 16:59:43 +0300 | [diff] [blame] | 57 | |
Rob Bradford | 382ff46 | 2013-06-24 16:52:45 +0100 | [diff] [blame] | 58 | COMPOSITOR_MODULES="wayland-server >= 1.1.90 pixman-1" |
Kristian Høgsberg | 08c40c3 | 2011-01-11 13:48:03 -0500 | [diff] [blame] | 59 | |
Kristian Høgsberg | f82a806 | 2013-01-09 13:36:39 -0500 | [diff] [blame] | 60 | AC_ARG_ENABLE(egl, [ --disable-egl],, |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 61 | enable_egl=yes) |
| 62 | AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes) |
| 63 | if test x$enable_egl = xyes; then |
| 64 | AC_DEFINE([ENABLE_EGL], [1], [Build Weston with EGL support]) |
| 65 | COMPOSITOR_MODULES="$COMPOSITOR_MODULES egl >= 7.10 glesv2" |
| 66 | fi |
| 67 | |
Rob Bradford | 382ff46 | 2013-06-24 16:52:45 +0100 | [diff] [blame] | 68 | AC_ARG_ENABLE(xkbcommon, |
| 69 | AS_HELP_STRING([--disable-xkbcommon], [Disable libxkbcommon |
| 70 | support: This is only useful in environments |
| 71 | where you do not have a hardware keyboard. If |
| 72 | libxkbcommon support is disabled clients will not |
| 73 | be sent a keymap and and must know how to |
| 74 | interpret the keycode sent for any key event.]),, |
| 75 | enable_xkbcommon=yes) |
| 76 | if test x$enable_xkbcommon = xyes; then |
| 77 | AC_DEFINE(ENABLE_XKBCOMMON, [1], [Build Weston with libxkbcommon support]) |
| 78 | COMPOSITOR_MODULES="$COMPOSITOR_MODULES xkbcommon" |
| 79 | fi |
| 80 | |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 81 | PKG_CHECK_MODULES(COMPOSITOR, [$COMPOSITOR_MODULES]) |
Kristian Høgsberg | 5ec0a93 | 2011-07-01 10:46:40 -0400 | [diff] [blame] | 82 | |
Kristian Høgsberg | 44d4de6 | 2012-01-19 13:32:17 -0500 | [diff] [blame] | 83 | AC_ARG_ENABLE(setuid-install, [ --enable-setuid-install],, |
| 84 | enable_setuid_install=yes) |
Eric Anholt | 6f82cf5 | 2012-02-09 08:36:03 -0800 | [diff] [blame] | 85 | AM_CONDITIONAL(ENABLE_SETUID_INSTALL, test x$enable_setuid_install = xyes) |
Kristian Høgsberg | 44d4de6 | 2012-01-19 13:32:17 -0500 | [diff] [blame] | 86 | |
| 87 | |
Tiago Vignatti | 629ce23 | 2012-05-23 23:04:14 +0300 | [diff] [blame] | 88 | AC_ARG_ENABLE(xwayland, [ --enable-xwayland],, |
| 89 | enable_xwayland=yes) |
Quentin Glidic | bb41005 | 2013-02-18 20:38:22 +0100 | [diff] [blame] | 90 | AC_ARG_ENABLE(xwayland-test, [ --enable-xwayland-test],, |
| 91 | enable_xwayland_test=yes) |
Tiago Vignatti | 629ce23 | 2012-05-23 23:04:14 +0300 | [diff] [blame] | 92 | AM_CONDITIONAL(ENABLE_XWAYLAND, test x$enable_xwayland = xyes) |
Quentin Glidic | bb41005 | 2013-02-18 20:38:22 +0100 | [diff] [blame] | 93 | AM_CONDITIONAL(ENABLE_XWAYLAND_TEST, test x$enable_xwayland = xyes -a x$enable_xwayland_test = xyes) |
Tiago Vignatti | 629ce23 | 2012-05-23 23:04:14 +0300 | [diff] [blame] | 94 | if test x$enable_xwayland = xyes; then |
Tiago Vignatti | 90fada4 | 2012-07-16 12:02:08 -0400 | [diff] [blame] | 95 | PKG_CHECK_MODULES([XWAYLAND], xcb xcb-xfixes xcursor cairo-xcb) |
Tiago Vignatti | 629ce23 | 2012-05-23 23:04:14 +0300 | [diff] [blame] | 96 | AC_DEFINE([BUILD_XWAYLAND], [1], [Build the X server launcher]) |
Tiago Vignatti | 5884bcd | 2011-08-03 12:12:31 +0300 | [diff] [blame] | 97 | |
| 98 | AC_ARG_WITH(xserver-path, AS_HELP_STRING([--with-xserver-path=PATH], |
| 99 | [Path to X server]), [XSERVER_PATH="$withval"], |
| 100 | [XSERVER_PATH="$bindir/Xorg"]) |
| 101 | AC_SUBST([XSERVER_PATH]) |
Quentin Glidic | bb41005 | 2013-02-18 20:38:22 +0100 | [diff] [blame] | 102 | if test x$enable_xwayland_test = xyes; then |
| 103 | PKG_CHECK_MODULES([XWAYLAND_TEST], xcb xcb-dri2 libdrm) |
| 104 | fi |
Kristian Høgsberg | 5ec0a93 | 2011-07-01 10:46:40 -0400 | [diff] [blame] | 105 | fi |
| 106 | |
| 107 | |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 108 | AC_ARG_ENABLE(x11-compositor, [ --enable-x11-compositor],, |
| 109 | enable_x11_compositor=yes) |
Eric Anholt | 6f82cf5 | 2012-02-09 08:36:03 -0800 | [diff] [blame] | 110 | AM_CONDITIONAL(ENABLE_X11_COMPOSITOR, test x$enable_x11_compositor = xyes) |
| 111 | if test x$enable_x11_compositor = xyes; then |
Kristian Høgsberg | a010abf | 2011-05-11 13:46:29 -0400 | [diff] [blame] | 112 | PKG_CHECK_MODULES([XCB], xcb) |
| 113 | xcb_save_LIBS=$LIBS |
| 114 | xcb_save_CFLAGS=$CFLAGS |
| 115 | CFLAGS=$XCB_CFLAGS |
| 116 | LIBS=$XCB_LIBS |
| 117 | AC_CHECK_FUNCS([xcb_poll_for_queued_event]) |
| 118 | LIBS=$xcb_save_LIBS |
| 119 | CFLAGS=$xcb_save_CFLAGS |
| 120 | |
Damien Lespiau | b5bae34 | 2013-03-28 15:20:54 +0000 | [diff] [blame] | 121 | X11_COMPOSITOR_MODULES="x11 x11-xcb xcb-shm" |
Daniel Stone | 62b33b6 | 2012-06-22 13:21:35 +0100 | [diff] [blame] | 122 | |
| 123 | PKG_CHECK_MODULES(X11_COMPOSITOR_XKB, [xcb-xkb], |
| 124 | [have_xcb_xkb="yes"], [have_xcb_xkb="no"]) |
| 125 | if test "x$have_xcb_xkb" = xyes; then |
| 126 | # Most versions of XCB have totally broken XKB bindings, where the |
| 127 | # events don't work. Make sure we can actually use them. |
| 128 | xcb_xkb_save_CFLAGS=$CFLAGS |
| 129 | CFLAGS=$X11_COMPOSITOR_XKB_CFLAGS |
| 130 | AC_CHECK_MEMBER([struct xcb_xkb_state_notify_event_t.xkbType], |
| 131 | [], [have_xcb_xkb=no], [[#include <xcb/xkb.h>]]) |
| 132 | CFLAGS=$xcb_xkb_save_CFLAGS |
| 133 | fi |
| 134 | if test "x$have_xcb_xkb" = xyes; then |
| 135 | X11_COMPOSITOR_MODULES="$X11_COMPOSITOR_MODULES xcb-xkb" |
| 136 | AC_DEFINE([HAVE_XCB_XKB], [1], [libxcb supports XKB protocol]) |
| 137 | fi |
| 138 | |
| 139 | PKG_CHECK_MODULES(X11_COMPOSITOR, [$X11_COMPOSITOR_MODULES]) |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 140 | AC_DEFINE([BUILD_X11_COMPOSITOR], [1], [Build the X11 compositor]) |
| 141 | fi |
| 142 | |
| 143 | |
Kristian Høgsberg | 7d498b4 | 2011-01-23 13:50:42 -0500 | [diff] [blame] | 144 | AC_ARG_ENABLE(drm-compositor, [ --enable-drm-compositor],, |
| 145 | enable_drm_compositor=yes) |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 146 | AM_CONDITIONAL(ENABLE_DRM_COMPOSITOR, test x$enable_drm_compositor = xyes -a x$enable_egl = xyes) |
| 147 | if test x$enable_drm_compositor = xyes -a x$enable_egl = xyes; then |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 148 | AC_DEFINE([BUILD_DRM_COMPOSITOR], [1], [Build the DRM compositor]) |
Rob Bradford | eb95d0d | 2012-05-08 14:49:15 +0100 | [diff] [blame] | 149 | PKG_CHECK_MODULES(DRM_COMPOSITOR, [libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0]) |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 150 | fi |
| 151 | |
| 152 | |
Kristian Høgsberg | 7d498b4 | 2011-01-23 13:50:42 -0500 | [diff] [blame] | 153 | AC_ARG_ENABLE(wayland-compositor, [ --enable-wayland-compositor],, |
| 154 | enable_wayland_compositor=yes) |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 155 | AM_CONDITIONAL(ENABLE_WAYLAND_COMPOSITOR, |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 156 | test x$enable_wayland_compositor = xyes -a x$enable_egl = xyes) |
| 157 | if test x$enable_wayland_compositor = xyes -a x$enable_egl = xyes; then |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 158 | AC_DEFINE([BUILD_WAYLAND_COMPOSITOR], [1], |
| 159 | [Build the Wayland (nested) compositor]) |
Kristian Høgsberg | 80492e2 | 2011-04-26 11:10:32 -0400 | [diff] [blame] | 160 | PKG_CHECK_MODULES(WAYLAND_COMPOSITOR, [wayland-client wayland-egl]) |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 161 | fi |
| 162 | |
Pekka Paalanen | 3ae50bb | 2012-05-30 15:53:45 +0300 | [diff] [blame] | 163 | |
Ander Conselvan de Oliveira | 11f8d40 | 2012-10-29 18:19:24 +0200 | [diff] [blame] | 164 | AC_ARG_ENABLE(headless-compositor, [ --enable-headless-compositor],, |
| 165 | enable_headless_compositor=yes) |
| 166 | AM_CONDITIONAL(ENABLE_HEADLESS_COMPOSITOR, |
| 167 | test x$enable_headless_compositor = xyes) |
| 168 | |
| 169 | |
Pekka Paalanen | e8de35c | 2012-11-07 12:25:14 +0200 | [diff] [blame] | 170 | AC_ARG_ENABLE(rpi-compositor, |
| 171 | AS_HELP_STRING([--disable-rpi-compositor], |
| 172 | [do not build the Raspberry Pi backend]),, |
| 173 | enable_rpi_compositor=yes) |
Pekka Paalanen | e31e053 | 2013-05-22 18:03:07 +0300 | [diff] [blame] | 174 | AM_CONDITIONAL(ENABLE_RPI_COMPOSITOR, test "x$enable_rpi_compositor" = "xyes") |
Pekka Paalanen | e8de35c | 2012-11-07 12:25:14 +0200 | [diff] [blame] | 175 | have_bcm_host="no" |
Pekka Paalanen | e31e053 | 2013-05-22 18:03:07 +0300 | [diff] [blame] | 176 | if test "x$enable_rpi_compositor" = "xyes"; then |
Pekka Paalanen | e8de35c | 2012-11-07 12:25:14 +0200 | [diff] [blame] | 177 | AC_DEFINE([BUILD_RPI_COMPOSITOR], [1], [Build the compositor for Raspberry Pi]) |
| 178 | PKG_CHECK_MODULES(RPI_COMPOSITOR, [libudev >= 136 mtdev >= 1.1.0]) |
| 179 | PKG_CHECK_MODULES(RPI_BCM_HOST, [bcm_host], |
| 180 | [have_bcm_host="yes" |
| 181 | AC_DEFINE([HAVE_BCM_HOST], [1], [have Raspberry Pi BCM headers])], |
| 182 | [AC_MSG_WARN([Raspberry Pi BCM host libraries not found, will use stubs instead.])]) |
| 183 | fi |
| 184 | AM_CONDITIONAL(INSTALL_RPI_COMPOSITOR, test "x$have_bcm_host" = "xyes") |
| 185 | |
| 186 | |
Philip Withnall | 4f49917 | 2013-02-02 12:02:32 +0000 | [diff] [blame] | 187 | AC_ARG_ENABLE([fbdev-compositor], [ --enable-fbdev-compositor],, |
| 188 | enable_fbdev_compositor=yes) |
| 189 | AM_CONDITIONAL([ENABLE_FBDEV_COMPOSITOR], |
| 190 | [test x$enable_fbdev_compositor = xyes]) |
| 191 | AS_IF([test x$enable_fbdev_compositor = xyes], [ |
| 192 | AC_DEFINE([BUILD_FBDEV_COMPOSITOR], [1], [Build the fbdev compositor]) |
Samuel Iglesias Gonsalvez | f66f99d | 2013-08-28 11:22:41 +0200 | [diff] [blame] | 193 | PKG_CHECK_MODULES([FBDEV_COMPOSITOR], [libudev >= 136 mtdev >= 1.1.0 libdrm >= 2.4.30]) |
Philip Withnall | 4f49917 | 2013-02-02 12:02:32 +0000 | [diff] [blame] | 194 | ]) |
| 195 | |
Hardening | a83409c | 2013-04-01 23:43:58 +0200 | [diff] [blame] | 196 | AC_ARG_ENABLE([rdp-compositor], [ --enable-rdp-compositor],, |
| 197 | enable_rdp_compositor=no) |
| 198 | AM_CONDITIONAL([ENABLE_RDP_COMPOSITOR], |
| 199 | [test x$enable_rdp_compositor = xyes]) |
| 200 | if test x$enable_rdp_compositor = xyes; then |
Hardening | c077a84 | 2013-07-08 00:51:35 +0200 | [diff] [blame] | 201 | AC_DEFINE([BUILD_RDP_COMPOSITOR], [1], [Build the RDP compositor]) |
Hardening | a83409c | 2013-04-01 23:43:58 +0200 | [diff] [blame] | 202 | PKG_CHECK_MODULES(RDP_COMPOSITOR, [freerdp >= 1.1.0]) |
| 203 | fi |
Philip Withnall | 4f49917 | 2013-02-02 12:02:32 +0000 | [diff] [blame] | 204 | |
Rob Bradford | 4c1a9bc | 2013-08-09 16:52:46 +0100 | [diff] [blame] | 205 | AC_ARG_WITH(cairo, |
| 206 | AS_HELP_STRING([--with-cairo=@<:@image|gl|glesv2@:>@] |
| 207 | [Which Cairo renderer to use for the clients]), |
| 208 | [],[with_cairo="image"]) |
| 209 | |
| 210 | if test "x$with_cairo" = "ximage"; then |
| 211 | cairo_modules="cairo" |
| 212 | else |
| 213 | if test "x$with_cairo" = "xgl"; then |
| 214 | cairo_modules="cairo-gl" |
| 215 | else |
| 216 | if test "x$with_cairo" = "xglesv2"; then |
| 217 | cairo_modules="cairo-glesv2" |
| 218 | else |
| 219 | AC_ERROR([Unknown cairo renderer requested]) |
| 220 | fi |
| 221 | fi |
| 222 | fi |
| 223 | |
| 224 | # Included for legacy compat |
Pekka Paalanen | de7fe62 | 2012-10-16 17:27:18 +0300 | [diff] [blame] | 225 | AC_ARG_WITH(cairo-glesv2, |
| 226 | AS_HELP_STRING([--with-cairo-glesv2], |
Rob Bradford | 4c1a9bc | 2013-08-09 16:52:46 +0100 | [diff] [blame] | 227 | [Use GLESv2 cairo])) |
Pekka Paalanen | de7fe62 | 2012-10-16 17:27:18 +0300 | [diff] [blame] | 228 | if test "x$with_cairo_glesv2" = "xyes"; then |
| 229 | cairo_modules="cairo-glesv2" |
Armin K | 0a8461b | 2013-08-14 03:13:53 +0200 | [diff] [blame] | 230 | with_cairo="glesv2" |
Rob Bradford | 4c1a9bc | 2013-08-09 16:52:46 +0100 | [diff] [blame] | 231 | fi |
| 232 | |
| 233 | if test "x$cairo_modules" = "xcairo-glesv2"; then |
| 234 | AC_DEFINE([USE_CAIRO_GLESV2], [1], [Use the GLESv2 GL cairo backend]) |
Kristian Høgsberg | 2d57439 | 2012-01-18 14:50:58 -0500 | [diff] [blame] | 235 | fi |
| 236 | |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 237 | PKG_CHECK_MODULES(PIXMAN, [pixman-1]) |
| 238 | PKG_CHECK_MODULES(PNG, [libpng]) |
| 239 | PKG_CHECK_MODULES(WEBP, [libwebp], [have_webp=yes], [have_webp=no]) |
| 240 | AS_IF([test "x$have_webp" = "xyes"], |
| 241 | [AC_DEFINE([HAVE_WEBP], [1], [Have webp])]) |
Kristian Høgsberg | 5a315bc | 2012-05-15 22:33:43 -0400 | [diff] [blame] | 242 | |
Ander Conselvan de Oliveira | 6aae4d3 | 2013-08-23 17:15:48 +0300 | [diff] [blame^] | 243 | PKG_CHECK_MODULES(LIBVA, [libva >= 0.34.0 libva-drm >= 0.34.0], [have_libva=yes], [have_libva=no]) |
| 244 | AS_IF([test "x$have_libva" = "xyes"], |
| 245 | [AC_DEFINE([HAVE_LIBVA], [1], [Have libva])]) |
| 246 | AM_CONDITIONAL(ENABLE_LIBVA, test "x$have_libva" = "xyes") |
| 247 | |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 248 | AC_CHECK_LIB([jpeg], [jpeg_CreateDecompress], have_jpeglib=yes) |
| 249 | if test x$have_jpeglib = xyes; then |
Kristian Høgsberg | 6006ecb | 2012-11-29 12:23:36 -0500 | [diff] [blame] | 250 | JPEG_LIBS="-ljpeg" |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 251 | else |
| 252 | AC_ERROR([libjpeg not found]) |
| 253 | fi |
Kristian Høgsberg | 6006ecb | 2012-11-29 12:23:36 -0500 | [diff] [blame] | 254 | AC_SUBST(JPEG_LIBS) |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 255 | |
Tiago Vignatti | 4f238a5 | 2012-07-31 15:47:48 +0300 | [diff] [blame] | 256 | PKG_CHECK_MODULES(CAIRO, [cairo]) |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 257 | |
Pekka Paalanen | 5f8a67c | 2012-10-16 17:27:20 +0300 | [diff] [blame] | 258 | AC_ARG_ENABLE(simple-clients, |
| 259 | AS_HELP_STRING([--disable-simple-clients], |
| 260 | [do not build the simple wl_shm clients]),, |
| 261 | enable_simple_clients=yes) |
| 262 | AM_CONDITIONAL(BUILD_SIMPLE_CLIENTS, test "x$enable_simple_clients" = "xyes") |
Eric Anholt | 6f82cf5 | 2012-02-09 08:36:03 -0800 | [diff] [blame] | 263 | if test x$enable_simple_clients = xyes; then |
Pekka Paalanen | 5f8a67c | 2012-10-16 17:27:20 +0300 | [diff] [blame] | 264 | PKG_CHECK_MODULES(SIMPLE_CLIENT, [wayland-client]) |
| 265 | fi |
| 266 | |
| 267 | AC_ARG_ENABLE(simple-egl-clients, |
| 268 | AS_HELP_STRING([--disable-simple-egl-clients], |
| 269 | [do not build the simple EGL clients]),, |
| 270 | enable_simple_egl_clients=yes) |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 271 | AM_CONDITIONAL(BUILD_SIMPLE_EGL_CLIENTS, test "x$enable_simple_egl_clients" = "xyes" -a "x$enable_egl" = "xyes") |
| 272 | if test x$enable_simple_egl_clients = xyes -a x$enable_egl = xyes; then |
Pekka Paalanen | 5f8a67c | 2012-10-16 17:27:20 +0300 | [diff] [blame] | 273 | PKG_CHECK_MODULES(SIMPLE_EGL_CLIENT, |
Kristian Høgsberg | 191e0ee | 2012-10-29 17:41:46 -0400 | [diff] [blame] | 274 | [egl >= 7.10 glesv2 wayland-client wayland-egl wayland-cursor]) |
Tiago Vignatti | 93165e3 | 2011-07-21 16:35:40 +0300 | [diff] [blame] | 275 | fi |
Kristian Høgsberg | a941022 | 2011-01-14 17:22:35 -0500 | [diff] [blame] | 276 | |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 277 | AC_ARG_ENABLE(clients, [ --enable-clients],, enable_clients=yes) |
Eric Anholt | 6f82cf5 | 2012-02-09 08:36:03 -0800 | [diff] [blame] | 278 | AM_CONDITIONAL(BUILD_CLIENTS, test x$enable_clients = xyes) |
| 279 | if test x$enable_clients = xyes; then |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 280 | AC_DEFINE([BUILD_CLIENTS], [1], [Build the Wayland clients]) |
| 281 | |
Pekka Paalanen | fb39d8d | 2012-10-16 17:27:19 +0300 | [diff] [blame] | 282 | PKG_CHECK_MODULES(CLIENT, [wayland-client cairo >= 1.10.0 xkbcommon wayland-cursor]) |
Armin K | a94e285 | 2013-06-04 13:05:22 +0200 | [diff] [blame] | 283 | PKG_CHECK_MODULES(SERVER, [wayland-server]) |
Philipp Brüschweiler | 585acb0 | 2012-08-15 17:12:00 +0200 | [diff] [blame] | 284 | PKG_CHECK_MODULES(WESTON_INFO, [wayland-client]) |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 285 | |
Kristian Høgsberg | f02a649 | 2012-03-12 01:05:25 -0400 | [diff] [blame] | 286 | PKG_CHECK_MODULES(POPPLER, [poppler-glib glib-2.0 gobject-2.0 gio-2.0 ], |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 287 | [have_poppler=yes], [have_poppler=no]) |
Rob Bradford | 4c1a9bc | 2013-08-09 16:52:46 +0100 | [diff] [blame] | 288 | |
| 289 | # Only check for cairo-egl if a GL or GLES renderer requested |
| 290 | AS_IF([test "x$cairo_modules" = "xcairo-gl" -o "x$cairo_modules" = "xcairo-glesv2"], [ |
| 291 | PKG_CHECK_MODULES(CAIRO_EGL, [wayland-egl egl >= 7.10 cairo-egl >= 1.11.3 $cairo_modules], |
| 292 | [have_cairo_egl=yes], [have_cairo_egl=no]) |
| 293 | AS_IF([test "x$have_cairo_egl" = "xyes"], |
| 294 | [AC_DEFINE([HAVE_CAIRO_EGL], [1], [Have cairo-egl])], |
Armin K | 0a8461b | 2013-08-14 03:13:53 +0200 | [diff] [blame] | 295 | [AC_ERROR([cairo-egl not used because $CAIRO_EGL_PKG_ERRORS])])], |
| 296 | [have_cairo_egl=no]) |
Rob Bradford | 4c1a9bc | 2013-08-09 16:52:46 +0100 | [diff] [blame] | 297 | |
Jan Arne Petersen | 0a1cf39 | 2013-01-16 21:26:42 +0100 | [diff] [blame] | 298 | PKG_CHECK_MODULES(PANGO, [pangocairo], [have_pango=yes], [have_pango=no]) |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 299 | fi |
| 300 | |
Louis-Francis Ratté-Boulianne | 6cd1de3 | 2013-05-22 18:03:11 +0300 | [diff] [blame] | 301 | AC_ARG_ENABLE(resize-optimization, |
| 302 | AS_HELP_STRING([--disable-resize-optimization], |
| 303 | [disable resize optimization allocating a big buffer in toytoolkit]),, |
| 304 | enable_resize_optimization=yes) |
| 305 | AS_IF([test "x$enable_resize_optimization" = "xyes"], |
| 306 | [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])]) |
| 307 | |
Benjamin Franzke | bfeda13 | 2012-01-30 14:04:04 +0100 | [diff] [blame] | 308 | AC_ARG_ENABLE(weston-launch, [ --enable-weston-launch],, enable_weston_launch=yes) |
| 309 | AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch == xyes) |
| 310 | if test x$enable_weston_launch == xyes; then |
| 311 | PKG_CHECK_MODULES(WESTON_LAUNCH, [libdrm]) |
| 312 | PKG_CHECK_MODULES(SYSTEMD_LOGIN, [libsystemd-login], |
| 313 | [have_systemd_login=yes], [have_systemd_login=no]) |
| 314 | AS_IF([test "x$have_systemd_login" = "xyes"], |
| 315 | [AC_DEFINE([HAVE_SYSTEMD_LOGIN], [1], [Have systemd-login])]) |
| 316 | |
| 317 | AC_CHECK_LIB([pam], [pam_open_session], [have_pam=yes], [have_pam=no]) |
| 318 | if test x$have_pam == xno; then |
| 319 | AC_ERROR([weston-launch requires pam]) |
| 320 | fi |
| 321 | WESTON_LAUNCH_LIBS="$WESTON_LAUNCH_LIBS -lpam" |
| 322 | fi |
| 323 | |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 324 | if test x$enable_egl = xyes; then |
| 325 | PKG_CHECK_MODULES(GLU, [glu], [have_glu=yes], [have_glu=no]) |
| 326 | fi |
Konno, Joe | 314d988 | 2013-01-30 07:38:57 -0800 | [diff] [blame] | 327 | AM_CONDITIONAL(HAVE_GLU, test "x$have_glu" = "xyes") |
Kristian Høgsberg | b98905e | 2012-10-29 13:06:02 -0400 | [diff] [blame] | 328 | |
| 329 | |
Kristian Høgsberg | 60c1508 | 2011-04-26 11:47:00 -0400 | [diff] [blame] | 330 | AM_CONDITIONAL(HAVE_POPPLER, test "x$have_poppler" = "xyes") |
Kristian Høgsberg | d4de54e | 2008-12-04 22:48:50 -0500 | [diff] [blame] | 331 | |
Jan Arne Petersen | 0a1cf39 | 2013-01-16 21:26:42 +0100 | [diff] [blame] | 332 | AM_CONDITIONAL(HAVE_PANGO, test "x$have_pango" = "xyes") |
| 333 | |
Armin K | a94e285 | 2013-06-04 13:05:22 +0200 | [diff] [blame] | 334 | AM_CONDITIONAL(HAVE_CAIRO_GLESV2, |
| 335 | [test "x$have_cairo_egl" = "xyes" -a "x$cairo_modules" = "xcairo-glesv2" -a "x$enable_egl" = "xyes"]) |
| 336 | |
Pekka Paalanen | 51d2195 | 2012-01-31 16:35:18 +0200 | [diff] [blame] | 337 | AM_CONDITIONAL(BUILD_FULL_GL_CLIENTS, |
Vasily Khoruzhick | 1bfe2e6 | 2013-01-08 19:09:02 +0300 | [diff] [blame] | 338 | test x$cairo_modules = "xcairo-gl" -a "x$have_cairo_egl" = "xyes" -a "x$enable_egl" = "xyes") |
Pekka Paalanen | 51d2195 | 2012-01-31 16:35:18 +0200 | [diff] [blame] | 339 | |
Pekka Paalanen | 7ff7a80 | 2013-04-25 13:57:50 +0300 | [diff] [blame] | 340 | AM_CONDITIONAL(BUILD_SUBSURFACES_CLIENT, |
| 341 | [test '(' "x$have_cairo_egl" != "xyes" -o "x$cairo_modules" = "xcairo-glesv2" ')' -a "x$enable_simple_egl_clients" = "xyes"]) |
| 342 | |
Kristian Høgsberg | 1c56218 | 2011-05-02 22:09:20 -0400 | [diff] [blame] | 343 | AM_CONDITIONAL(ENABLE_DESKTOP_SHELL, true) |
| 344 | |
Pekka Paalanen | 379d3d1 | 2012-10-16 17:27:22 +0300 | [diff] [blame] | 345 | AC_ARG_ENABLE(tablet-shell, |
| 346 | AS_HELP_STRING([--disable-tablet-shell], |
| 347 | [do not build tablet-shell server plugin and client]),, |
Kristian Høgsberg | 64f1c3f | 2011-11-14 15:50:03 -0500 | [diff] [blame] | 348 | enable_tablet_shell=yes) |
| 349 | AM_CONDITIONAL(ENABLE_TABLET_SHELL, |
Pekka Paalanen | 379d3d1 | 2012-10-16 17:27:22 +0300 | [diff] [blame] | 350 | test "x$enable_tablet_shell" = "xyes") |
Kristian Høgsberg | 1c56218 | 2011-05-02 22:09:20 -0400 | [diff] [blame] | 351 | |
Richard Hughes | be7c4dd | 2013-05-11 09:48:22 +0100 | [diff] [blame] | 352 | # CMS modules |
| 353 | AC_ARG_ENABLE(colord, |
| 354 | AS_HELP_STRING([--disable-colord], |
| 355 | [do not build colord CMS support]),, |
Armin K | 49c36c6 | 2013-05-30 15:16:40 +0200 | [diff] [blame] | 356 | enable_colord=auto) |
Armin K | 49c36c6 | 2013-05-30 15:16:40 +0200 | [diff] [blame] | 357 | if test "x$enable_colord" != "xno"; then |
| 358 | PKG_CHECK_MODULES(COLORD, |
| 359 | colord >= 0.1.27, |
| 360 | have_colord=yes, |
| 361 | have_colord=no) |
| 362 | if test "x$have_colord" = "xno" -a "x$enable_colord" = "xyes"; then |
| 363 | AC_MSG_ERROR([colord support explicitly requested, but colord couldn't be found]) |
| 364 | fi |
| 365 | if test "x$have_colord" = "xyes"; then |
| 366 | enable_colord=yes |
| 367 | fi |
Richard Hughes | be7c4dd | 2013-05-11 09:48:22 +0100 | [diff] [blame] | 368 | fi |
Yanko Kaneti | 9b78adf | 2013-07-10 12:01:36 -0400 | [diff] [blame] | 369 | AM_CONDITIONAL(ENABLE_COLORD, test "x$enable_colord" = "xyes") |
Kristian Høgsberg | 61cfa66 | 2012-05-26 13:19:22 -0400 | [diff] [blame] | 370 | |
| 371 | AC_ARG_ENABLE(wcap-tools, [ --disable-wcap-tools],, enable_wcap_tools=yes) |
| 372 | AM_CONDITIONAL(BUILD_WCAP_TOOLS, test x$enable_wcap_tools = xyes) |
| 373 | if test x$enable_wcap_tools = xyes; then |
| 374 | AC_DEFINE([BUILD_WCAP_TOOLS], [1], [Build the wcap tools]) |
Kristian Høgsberg | 8d25a5a | 2012-07-20 18:05:10 -0400 | [diff] [blame] | 375 | PKG_CHECK_MODULES(WCAP, [cairo]) |
Kristian Høgsberg | 61cfa66 | 2012-05-26 13:19:22 -0400 | [diff] [blame] | 376 | WCAP_LIBS="$WCAP_LIBS -lm" |
| 377 | fi |
| 378 | |
| 379 | AC_CHECK_PROG(RSVG_CONVERT, rsvg-convert, rsvg-convert) |
| 380 | AM_CONDITIONAL(HAVE_RSVG_CONVERT, test -n "$RSVG_CONVERT") |
| 381 | |
Pekka Paalanen | 4b14159 | 2012-08-03 14:39:16 +0300 | [diff] [blame] | 382 | PKG_CHECK_MODULES(SETBACKLIGHT, [libudev libdrm], enable_setbacklight=yes, enable_setbacklight=no) |
| 383 | AM_CONDITIONAL(BUILD_SETBACKLIGHT, test "x$enable_setbacklight" = "xyes") |
Kristian Høgsberg | 61cfa66 | 2012-05-26 13:19:22 -0400 | [diff] [blame] | 384 | |
nobled | 48f975d | 2011-01-28 13:47:21 +0000 | [diff] [blame] | 385 | if test "x$GCC" = "xyes"; then |
Pekka Paalanen | a95efd3 | 2013-01-18 12:11:10 +0200 | [diff] [blame] | 386 | GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter \ |
| 387 | -Wno-missing-field-initializers -g -fvisibility=hidden \ |
Pekka Paalanen | 15643f6 | 2012-06-01 12:20:25 +0300 | [diff] [blame] | 388 | -Wstrict-prototypes -Wmissing-prototypes" |
Kristian Høgsberg | d4de54e | 2008-12-04 22:48:50 -0500 | [diff] [blame] | 389 | fi |
| 390 | AC_SUBST(GCC_CFLAGS) |
| 391 | |
Armin K | 49c36c6 | 2013-05-30 15:16:40 +0200 | [diff] [blame] | 392 | AC_ARG_ENABLE(libunwind, |
| 393 | AS_HELP_STRING([--disable-libunwind], |
| 394 | [Disable libunwind usage for backtraces]),, |
| 395 | enable_libunwind=auto) |
Quentin Glidic | 5daccc3 | 2013-04-03 20:19:45 +0200 | [diff] [blame] | 396 | AM_CONDITIONAL(HAVE_LIBUNWIND, [test "x$enable_libunwind" = xyes]) |
Armin K | 49c36c6 | 2013-05-30 15:16:40 +0200 | [diff] [blame] | 397 | if test "x$enable_libunwind" != "xno"; then |
| 398 | PKG_CHECK_MODULES(LIBUNWIND, |
| 399 | libunwind, |
| 400 | have_libunwind=yes, |
| 401 | have_libunwind=no) |
| 402 | if test "x$have_libunwind" = "xno" -a "x$enable_libunwind" = "xyes"; then |
| 403 | AC_MSG_ERROR([libunwind support explicitly requested, but libunwind couldn't be found]) |
| 404 | fi |
| 405 | if test "x$have_libunwind" = "xyes"; then |
| 406 | enable_libunwind=yes |
| 407 | AC_DEFINE(HAVE_LIBUNWIND, 1, [Have libunwind support]) |
| 408 | fi |
| 409 | fi |
| 410 | |
Marcin Slusarz | 554a0da | 2013-02-18 13:27:22 -0500 | [diff] [blame] | 411 | |
Pekka Paalanen | a51e6fa | 2012-11-07 12:25:12 +0200 | [diff] [blame] | 412 | if test "x$WESTON_NATIVE_BACKEND" = "x"; then |
| 413 | WESTON_NATIVE_BACKEND="drm-backend.so" |
| 414 | fi |
| 415 | AC_MSG_NOTICE([Weston's native backend: $WESTON_NATIVE_BACKEND]) |
| 416 | AC_DEFINE_UNQUOTED([WESTON_NATIVE_BACKEND], ["$WESTON_NATIVE_BACKEND"], |
| 417 | [The default backend to load, if not wayland nor x11.]) |
| 418 | |
Armin K | aac6021 | 2013-07-14 17:26:23 +0200 | [diff] [blame] | 419 | AC_ARG_ENABLE(demo-clients, |
| 420 | AS_HELP_STRING([--enable-demo-clients], |
| 421 | [install demo clients built with weston]),, |
| 422 | enable_demo_clients=no) |
| 423 | AM_CONDITIONAL(ENABLE_DEMO_CLIENTS, [test "x$enable_demo_clients" = "xyes"]) |
| 424 | |
Richard Hughes | b24e48e | 2013-05-09 20:31:09 +0100 | [diff] [blame] | 425 | PKG_CHECK_MODULES(LCMS, lcms2, |
| 426 | [have_lcms=yes], [have_lcms=no]) |
| 427 | if test "x$have_lcms" = xyes; then |
| 428 | AC_DEFINE(HAVE_LCMS, 1, [Have lcms support]) |
| 429 | fi |
| 430 | AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes]) |
| 431 | |
Quentin Glidic | 9f43cb4 | 2013-08-24 20:36:10 +0200 | [diff] [blame] | 432 | AC_PATH_PROG([wayland_scanner], [wayland-scanner]) |
| 433 | if test x$wayland_scanner = x; then |
| 434 | AC_MSG_ERROR([wayland-scanner is needed to compile weston]) |
| 435 | fi |
Kristian Høgsberg | b2d7185 | 2011-02-14 22:13:33 -0500 | [diff] [blame] | 436 | |
| 437 | AC_CONFIG_FILES([Makefile |
Pekka Paalanen | c1765c6 | 2011-12-05 15:58:11 +0200 | [diff] [blame] | 438 | shared/Makefile |
Kristian Høgsberg | 8334bc1 | 2012-01-03 10:29:47 -0500 | [diff] [blame] | 439 | src/Makefile |
Kristian Høgsberg | a921901 | 2012-05-21 15:03:32 -0400 | [diff] [blame] | 440 | src/xwayland/Makefile |
Kristian Høgsberg | af4f2aa | 2013-02-15 20:53:20 -0500 | [diff] [blame] | 441 | src/version.h |
| 442 | src/weston.pc |
Kristian Høgsberg | f0152da | 2010-10-12 17:24:20 -0400 | [diff] [blame] | 443 | clients/Makefile |
Kristian Høgsberg | 2bcb2fc | 2012-05-25 18:03:52 -0400 | [diff] [blame] | 444 | wcap/Makefile |
Kristian Høgsberg | f6a5f7d | 2012-01-03 11:02:46 -0500 | [diff] [blame] | 445 | data/Makefile |
Pekka Paalanen | 4520d5c | 2012-01-16 15:04:28 +0200 | [diff] [blame] | 446 | protocol/Makefile |
Pekka Paalanen | a91291c | 2012-08-29 15:49:48 +0300 | [diff] [blame] | 447 | man/Makefile |
Pekka Paalanen | 4520d5c | 2012-01-16 15:04:28 +0200 | [diff] [blame] | 448 | tests/Makefile]) |
Kristian Høgsberg | 4a8767b | 2008-12-10 13:44:23 -0500 | [diff] [blame] | 449 | AC_OUTPUT |
Armin K | 0a8461b | 2013-08-14 03:13:53 +0200 | [diff] [blame] | 450 | |
| 451 | AC_MSG_RESULT([ |
| 452 | Native Backend ${WESTON_NATIVE_BACKEND} |
| 453 | setuid Install ${enable_setuid_install} |
| 454 | |
| 455 | Cairo Renderer ${with_cairo} |
| 456 | EGL ${enable_egl} |
| 457 | libxkbcommon ${enable_xkbcommon} |
| 458 | XWayland ${enable_xwayland} |
| 459 | |
| 460 | Build wcap utility ${enable_wcap_tools} |
| 461 | Build Tablet Shell ${enable_tablet_shell} |
| 462 | |
| 463 | weston-launch utility ${enable_weston_launch} |
| 464 | weston-launch systemd support ${have_systemd_login} |
| 465 | |
| 466 | DRM Compositor ${enable_drm_compositor} |
| 467 | X11 Compositor ${enable_x11_compositor} |
| 468 | Wayland Compositor ${enable_wayland_compositor} |
| 469 | Headless Compositor ${enable_headless_compositor} |
| 470 | RPI Compositor ${enable_rpi_compositor} |
| 471 | FBDEV Compositor ${enable_fbdev_compositor} |
| 472 | RDP Compositor ${enable_rdp_compositor} |
| 473 | |
| 474 | Raspberry Pi BCM headers ${have_bcm_host} |
| 475 | |
| 476 | Build Clients ${enable_clients} |
| 477 | Build EGL Clients ${have_cairo_egl} |
| 478 | Build Simple Clients ${enable_simple_clients} |
| 479 | Build Simple EGL Clients ${enable_simple_egl_clients} |
| 480 | |
| 481 | Install Demo Clients ${enable_demo_clients} |
| 482 | |
| 483 | Colord Support ${have_colord} |
| 484 | GLU Support ${have_glu} |
| 485 | LCMS2 Support ${have_lcms} |
| 486 | libwebp Support ${have_webp} |
| 487 | libunwind Support ${have_libunwind} |
Ander Conselvan de Oliveira | 6aae4d3 | 2013-08-23 17:15:48 +0300 | [diff] [blame^] | 488 | VA H.264 encoding Support ${have_libva} |
Armin K | 0a8461b | 2013-08-14 03:13:53 +0200 | [diff] [blame] | 489 | ]) |