summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Boll <andreas.boll.dev@gmail.com>2016-09-06 16:53:56 +0200
committerAndreas Boll <andreas.boll.dev@gmail.com>2017-03-30 13:34:20 +0200
commit6cb6cdfc71ce29b138f4ecdc763ba1d300311521 (patch)
tree9d088a46cee6ec554482172a20db12f3696df681
parent0eb5bef639c0d792ef3595f38feaa023417216f9 (diff)
downloadmesa-demos-6cb6cdfc71ce29b138f4ecdc763ba1d300311521.zip
mesa-demos-6cb6cdfc71ce29b138f4ecdc763ba1d300311521.tar.xz
configure.ac: Auto-detect wayland support
Automatically enables building of wayland demo(s) if the required build dependencies are available. Signed-off-by: Andreas Boll <andreas.boll.dev@gmail.com>
-rw-r--r--configure.ac4
1 files 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])