--- a/configure +++ b/configure @@ -28386,8 +28386,8 @@ test -n "$WAYLAND_SCANNER" && break done - if test x"$HAVE_WAYLAND_EGL" == xyes ; then - if test x"$WAYLAND_SCANNER" == x ; then + if test "x$HAVE_WAYLAND_EGL" = "xyes" ; then + if test "x$WAYLAND_SCANNER" = "x" ; then as_fn_error $? "Found Wayland libraries, but couldn't find wayland-scanner binary." "$LINENO" 5 fi