aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-04-10 13:15:11 +0200
committerKim Alvefur <zash@zash.se>2014-04-10 13:15:11 +0200
commitb9751f2455a3a7a72c2505d3fc8296ee722726cc (patch)
treeb842c0fb3552fbbaa03253af7cd869f0048753fa /util
parent038d77554396739a50af3a3519c053d0b2b2276e (diff)
parent51dce4916210eafee4bdccd6aa9461f2e8effc74 (diff)
downloadprosody-b9751f2455a3a7a72c2505d3fc8296ee722726cc.tar.gz
prosody-b9751f2455a3a7a72c2505d3fc8296ee722726cc.zip
Merge 0.9->0.10
Diffstat (limited to 'util')
-rw-r--r--util/dependencies.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/dependencies.lua b/util/dependencies.lua
index 9d80d241..ea19d9a8 100644
--- a/util/dependencies.lua
+++ b/util/dependencies.lua
@@ -49,6 +49,14 @@ package.preload["util.ztact"] = function ()
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"