From 9b59c175e389e0a0561312139c0861eba37e4719 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 1 Apr 2015 23:59:09 +0200 Subject: lua: reject Lua 5.3 It simply doesn't work, and is hard to make work. Lua 5.3 is a different language from 5.1 and 5.2, and is different enough to make adding support a major issue. Most importantly, 5.3 introduced integer types, which completely mess up any code which deals with numbers. I tried to make this a compile time check, but failed. Still at least try to avoid selecting the 5.3 pkg-config package when the generic "lua" name is used (why can't Lua upstream just provide an official .pc file...). Maybe this actually covers all cases. Fixes #1729 (kind of). --- waftools/checks/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'waftools/checks') diff --git a/waftools/checks/custom.py b/waftools/checks/custom.py index d168d9e977..97c65e3cd0 100644 --- a/waftools/checks/custom.py +++ b/waftools/checks/custom.py @@ -54,7 +54,7 @@ def check_lua(ctx, dependency_identifier): ( '51', 'lua >= 5.1.0 lua < 5.2.0'), ( '51deb', 'lua5.1 >= 5.1.0'), # debian ( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD - ( '52', 'lua >= 5.2.0' ), + ( '52', 'lua >= 5.2.0 lua < 5.3.0' ), ( '52deb', 'lua5.2 >= 5.2.0'), # debian ( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD ( 'luajit', 'luajit >= 2.0.0' ), -- cgit v1.2.3