Software / code / prosody
Comparison
util/dependencies.lua @ 743:99ef95e119ad
util.dependencies: Not finding our own libraries is fatal
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 22 Jan 2009 14:33:02 +0000 |
| parent | 742:b9f59372eb4e |
| child | 758:b1885732e979 |
comparison
equal
deleted
inserted
replaced
| 742:b9f59372eb4e | 743:99ef95e119ad |
|---|---|
| 65 local encodings = softreq "util.encodings" | 65 local encodings = softreq "util.encodings" |
| 66 if not encodings then | 66 if not encodings then |
| 67 missingdep("util.encodings", { ["Windows"] = "Make sure you have encodings.dll from the Prosody distribution in util/"; | 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"; | 68 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/encodings.so"; |
| 69 }); | 69 }); |
| 70 fatal = true; | |
| 70 end | 71 end |
| 71 | 72 |
| 72 local encodings = softreq "util.hashes" | 73 local encodings = softreq "util.hashes" |
| 73 if not encodings then | 74 if not encodings then |
| 74 missingdep("util.hashes", { ["Windows"] = "Make sure you have hashes.dll from the Prosody distribution in util/"; | 75 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 ["GNU/Linux"] = "Run './configure' and 'make' in the Prosody source directory to build util/hashes.so"; |
| 76 }); | 77 }); |
| 78 fatal = true; | |
| 77 end | 79 end |
| 78 | 80 |
| 79 if fatal then os.exit(1); end | 81 if fatal then os.exit(1); end |