Fix build with explicit --enable-wayland-backend

We forgot to set set WAYLAND_SCANNER in this case.
This commit is contained in:
Matthias Clasen 2013-10-06 15:32:18 -04:00
parent b6e8f27439
commit fe4fdeb7ae

View File

@ -419,6 +419,7 @@ if test "$enable_wayland_backend" = "yes"; then
#define GDK_WINDOWING_WAYLAND"
DISABLE_ON_WAYLAND='%'
WAYLAND_PACKAGES="$WAYLAND_DEPENDENCIES"
AC_PATH_PROG([WAYLAND_SCANNER],[wayland-scanner],[no])
AS_IF([test "x$WAYLAND_SCANNER" = "xno"],
AC_MSG_ERROR([Could not find wayland-scanner in your PATH, required for parsing wayland extension protocols]))
AC_SUBST([WAYLAND_SCANNER])