Skip to content

Commit a72ddbc

Browse files
author
Oliver Schneider
committed
Rollup merge of rust-lang#25697 - geofft:configure-friendliness, r=brson
Make the error message about missing dependencies clearer, since "need program file" is pretty confusing, and make full commands get logged, since that seems to have been the intention.
2 parents 691c75a + dfacdcf commit a72ddbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
msg() {
4-
echo "configure: $1"
4+
echo "configure: $*"
55
}
66

77
step_msg() {
@@ -33,8 +33,8 @@ need_ok() {
3333

3434
need_cmd() {
3535
if command -v $1 >/dev/null 2>&1
36-
then msg "found program $1"
37-
else err "need program $1"
36+
then msg "found program '$1'"
37+
else err "program '$1' is missing, please install it"
3838
fi
3939
}
4040

0 commit comments

Comments
 (0)