util/dependencies.lua

changeset 742
b9f59372eb4e
parent 615
4ae3e81513f3
child 743
99ef95e119ad
--- a/util/dependencies.lua	Sat Jan 17 14:57:21 2009 +0000
+++ b/util/dependencies.lua	Thu Jan 22 14:29:29 2009 +0000
@@ -62,5 +62,18 @@
 	end
 end
 
+local encodings = softreq "util.encodings"
+if not encodings then
+	missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/";
+	 				["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so";
+	 			});
+end
+
+local encodings = softreq "util.hashes"
+if not encodings then
+	missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/";
+	 				["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so";
+	 			});
+end
 
 if fatal then os.exit(1); end

mercurial