Commit 41204252 authored by Benjamin Franzke's avatar Benjamin Franzke 😀
Browse files

configure: Use WAYLAND_SCANNER_RULES only if available

This has the drawback that when creating configure for
distribution, wayland needs to be available for the packager.

Also the the macros has the wayland prefix hardcoded, so
we cant copy it in mesa right now.
parent b6d3a435
...@@ -1710,7 +1710,8 @@ yes) ...@@ -1710,7 +1710,8 @@ yes)
[AC_MSG_ERROR([cannot find libwayland-client])]) [AC_MSG_ERROR([cannot find libwayland-client])])
WAYLAND_SCANNER_RULES(['$(top_srcdir)/src/egl/wayland/wayland-drm/protocol']) m4_ifdef([WAYLAND_SCANNER_RULES],
fi fi
if test "$plat" = "drm" && test "x$enable_gbm" = "xno"; then if test "$plat" = "drm" && test "x$enable_gbm" = "xno"; then
AC_MSG_ERROR([EGL platform drm needs gbm]) AC_MSG_ERROR([EGL platform drm needs gbm])
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment