util.dependencies: Check for Lua 5.1. We don't currently support any other versions. LuaJIT identifies as 5.1.
--- a/util/dependencies.lua Sat Apr 05 15:05:40 2014 +0100
+++ b/util/dependencies.lua Wed Apr 09 14:01:02 2014 -0400
@@ -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"