#!/bin/sh set -eu printf '%s\n' 'Agila Open Tools bootstrap check' command -v python3 >/dev/null 2>&1 && echo '[ok] python3' || echo '[missing] python3' python3 - <<'PY' 2>/dev/null && echo '[ok] Pillow' || echo '[optional] Python Pillow is required by tools/gen_font.py' import PIL PY command -v make >/dev/null 2>&1 && echo '[ok] make' || echo '[optional] make is required to build V' command -v cc >/dev/null 2>&1 && echo '[ok] C compiler' || echo '[optional] a C compiler is required to build V' command -v ct-ng >/dev/null 2>&1 && echo '[ok] crosstool-NG' || echo '[optional] ct-ng is required for the cross-toolchain config' echo 'No packages were installed or system files changed.'