aboutsummaryrefslogtreecommitdiffstats
path: root/util/dependencies.lua
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
commitae8a4fb909a0cce10a12e9ced65e45ef2d1495fa (patch)
treeb842c0fb3552fbbaa03253af7cd869f0048753fa /util/dependencies.lua
parente06966ee436e4d461b03aaf8691fe76dcd6d588b (diff)
parent1f74845db7945a874ef308a9fe32edce4b2ed7fc (diff)
downloadprosody-ae8a4fb909a0cce10a12e9ced65e45ef2d1495fa.tar.gz
prosody-ae8a4fb909a0cce10a12e9ced65e45ef2d1495fa.zip
Merge 0.9->0.10
Diffstat (limited to 'util/dependencies.lua')
-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"