egl: Add EGL_WL_bind_wayland_display
[mesa.git] / configure.ac
index dcfddb1ed9950bc6c9d2f8d8765af18b756ee057..9fa5eeea18699de04442a164bc850229e3681cac 100644 (file)
@@ -1587,7 +1587,7 @@ yes)
                 GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS sw/fbdev"
         fi
        if test "$plat" = "wayland"; then
-               PKG_CHECK_MODULES([WAYLAND], [wayland-client],, \
+               PKG_CHECK_MODULES([WAYLAND], [wayland-client wayland-server],, \
                                  [AC_MSG_ERROR([cannot find libwayland-client])])
                WAYLAND_EGL_LIB_DEPS="$WAYLAND_LIBS $LIBDRM_LIBS"
        fi