From 95067ae5223e4ab5a56c1114adf452b30905802e Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Wed, 19 Sep 2007 17:04:36 -0700
Subject: [PATCH] Makefile: give explicit failure message to user if
 dependencies aren't found

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 15ac4408..3923a7e6 100644
--- a/Makefile
+++ b/Makefile
@@ -107,7 +107,9 @@ endif
 
 check-deps:
 	$(PP) \
-	 $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL'
+	 $(PYTHON) -c 'import allmydata, zfec, foolscap, simplejson, nevow, OpenSSL' || \
+	echo "Not all of Tahoe's dependencies are in place.  Please see the README for help on installing dependencies." && \
+	exit 1
 
 .checked-deps:
 	$(MAKE) check-deps
-- 
2.45.2