about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGeoffrey Thomas <geofft@ldpreload.com>2015-05-22 00:20:04 -0400
committerGeoffrey Thomas <geofft@ldpreload.com>2015-05-22 00:38:49 -0400
commit1e180b809fed81b758b1ca743ba3af24504239ca (patch)
treeb125feceb490c05eff514aa86514c3344fa4f3f8
parentc3d60aba6c86883c79055c1a3923d4db116b644e (diff)
downloadrust-1e180b809fed81b758b1ca743ba3af24504239ca.tar.gz
rust-1e180b809fed81b758b1ca743ba3af24504239ca.zip
configure: Clarify error message about missing dependencies
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?".
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 9b8207ee915..7850d7f03d8 100755
--- a/configure
+++ b/configure
@@ -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
 }