commit bdc04644989c6aeae0539d463019ed2633149238 parent 26807f547aacc198320e2d40dea9b1b1d0c2f560 Author: Bor Grošelj Simić <bor.groseljsimic@telemach.net> Date: Thu, 4 Feb 2021 13:17:34 +0100 verify qbe is present on the system Diffstat:
M | config.sh | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/config.sh b/config.sh @@ -142,6 +142,16 @@ run_configure() { echo no fi + printf "Checking for qbe... " + if $QBE -h > /dev/null 2>&1 + then + echo yes + else + echo no + echo "Error: no qbe binary found" + exit 1 + fi + printf "Creating $outdir/config.mk... " cat <<-EOF > "$outdir"/config.mk CC=$CC