summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitrij D. Czarkoff <czarkoff@gmail.com>2015-03-25 23:59:47 +0100
committerwm4 <wm4@nowhere>2015-03-26 14:33:26 +0100
commitc1afa2763a2b6d49c207d1c316cf508891653e2e (patch)
treeaf470d0037ad396de7e0499b18a19c761eff3147
parenta01b6d99e548e94e5cfe2f9bbf5daa5a8a52f745 (diff)
downloadmpv-c1afa2763a2b6d49c207d1c316cf508891653e2e.tar.bz2
mpv-c1afa2763a2b6d49c207d1c316cf508891653e2e.tar.xz
old-configure: disable wayland backend if wayland wasn't found
-rwxr-xr-xold-configure2
1 files changed, 2 insertions, 0 deletions
diff --git a/old-configure b/old-configure
index e72f7c8504..11c2e3ff90 100755
--- a/old-configure
+++ b/old-configure
@@ -661,6 +661,8 @@ EOF
_gl_wayland=yes
libs_mplayer="$libs_mplayer -lGL -lEGL"
test "$_gl_wayland" = yes && res_comment="$res_comment wayland"
+ else
+ _gl_wayland=no
fi
if test "$_x11" = yes && test "$_gl" = yes && pkg_config_add "egl"; then
_gl_x11_egl=yes