Software /
code /
prosody
Diff
util/dependencies.lua @ 6067:dab7ad6fa23c
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 10 Apr 2014 13:15:11 +0200 |
parent | 6054:7a5ddbaf758d |
parent | 6065:9ab23488a17c |
child | 6777:5de6b93d0190 |
line wrap: on
line diff
--- a/util/dependencies.lua Thu Apr 10 13:13:07 2014 +0200 +++ b/util/dependencies.lua Thu Apr 10 13:15:11 2014 +0200 @@ -49,6 +49,14 @@ end; function check_dependencies() + if _VERSION ~= "Lua 5.1" then + print "***********************************" + print("Unsupported Lua version: ".._VERSION); + print("Only Lua 5.1 is supported."); + print "***********************************" + return false; + end + local fatal; local lxp = softreq "lxp"