Comparison

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
comparison
equal deleted inserted replaced
6063:e626ee2fe106 6067:dab7ad6fa23c
47 error("module 'util.ztact' has been deprecated in Prosody 0.8."); 47 error("module 'util.ztact' has been deprecated in Prosody 0.8.");
48 end 48 end
49 end; 49 end;
50 50
51 function check_dependencies() 51 function check_dependencies()
52 if _VERSION ~= "Lua 5.1" then
53 print "***********************************"
54 print("Unsupported Lua version: ".._VERSION);
55 print("Only Lua 5.1 is supported.");
56 print "***********************************"
57 return false;
58 end
59
52 local fatal; 60 local fatal;
53 61
54 local lxp = softreq "lxp" 62 local lxp = softreq "lxp"
55 63
56 if not lxp then 64 if not lxp then