need_cmd() {
if command -v $1 >/dev/null 2>&1
- then msg "found $1"
- else err "need $1"
+ then msg "found program $1"
+ else err "need program $1"
fi
}
need_cmd tr
need_cmd sed
need_cmd file
+need_cmd make
msg "inspecting environment"
CFG_OSTYPE=unknown-dragonfly
;;
+ OpenBSD)
+ CFG_OSTYPE=unknown-openbsd
+ ;;
+
Darwin)
CFG_OSTYPE=apple-darwin
;;