old-configure: disable wayland backend if wayland wasn't found

This commit is contained in:
Dmitrij D. Czarkoff authored and wm4 committed 2015-03-26 14:33:26 +01:00
1 parent a01b6d99e5
commit c1afa2763a
1 file changed
+2
+2
View File
@@ -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