提交 50c78313 编写于 作者: G Graydon Hoare

Separate scan for commands used during configure.

上级 b56f4540
......@@ -12,6 +12,14 @@ err() {
exit 1
}
need_cmd() {
if which $1 >/dev/null 2>&1
then msg "found $1"
else err "need $1"
fi
}
make_dir() {
if [ ! -d $1 ]
then
......@@ -63,6 +71,9 @@ probe_need() {
fi
}
msg "looking for configure programs"
need_cmd mkdir
need_cmd printf
msg "recreating config.mk"
echo '' >config.mk
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册