[Mesa-dev] [PATCH demos] configure.ac: Auto-detect wayland support

Andreas Boll andreas.boll.dev at gmail.com
Thu Dec 22 15:26:06 UTC 2016


Automatically enables building of wayland demo(s) if the required
build dependencies are available.

Signed-off-by: Andreas Boll <andreas.boll.dev at gmail.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index ddc68b5..517d196 100644
--- a/configure.ac
+++ b/configure.ac
@@ -208,9 +208,9 @@ fi
 
 AC_ARG_ENABLE([wayland],
     [AS_HELP_STRING([--enable-wayland],
-        [enable support for wayland @<:@default=no@:>@])],
+        [enable support for wayland @<:@default=auto@:>@])],
     [wayland_enabled="$enableval"],
-    [wayland_enabled=no])
+    [wayland_enabled=auto])
 
 if test "x$wayland_enabled" != "xno"; then
     PKG_CHECK_MODULES(WAYLAND, [wayland-client wayland-egl], [wayland_enabled=yes], [wayland_enabled=no])
-- 
2.1.4



More information about the mesa-dev mailing list