Software /
code /
prosody
Comparison
util/dependencies.lua @ 742:b9f59372eb4e
util.dependencies: Show useful messages when our own libraries are not found, too
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 22 Jan 2009 14:29:29 +0000 |
parent | 615:4ae3e81513f3 |
child | 743:99ef95e119ad |
comparison
equal
deleted
inserted
replaced
741:97577b6c07ca | 742:b9f59372eb4e |
---|---|
60 else | 60 else |
61 missingdep("LuaSec", { ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/" }, "SSL/TLS support will not be available"); | 61 missingdep("LuaSec", { ["Source"] = "http://www.inf.puc-rio.br/~brunoos/luasec/" }, "SSL/TLS support will not be available"); |
62 end | 62 end |
63 end | 63 end |
64 | 64 |
65 local encodings = softreq "util.encodings" | |
66 if not encodings then | |
67 missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/"; | |
68 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so"; | |
69 }); | |
70 end | |
71 | |
72 local encodings = softreq "util.hashes" | |
73 if not encodings then | |
74 missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/"; | |
75 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so"; | |
76 }); | |
77 end | |
65 | 78 |
66 if fatal then os.exit(1); end | 79 if fatal then os.exit(1); end |