Skip to content

Commit

Permalink
configure: Clarify error message about missing dependencies
Browse files Browse the repository at this point in the history
Took me a moment to figure out that the appropriate response to
"need program file" was to install the program named "file", not
to think "If I didn't need the program file, why would I be
compiling things?".
  • Loading branch information
geofft committed May 22, 2015
1 parent c3d60ab commit 1e180b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -33,8 +33,8 @@ need_ok() {

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

Expand Down

0 comments on commit 1e180b8

Please sign in to comment.