c77c66b7df
The default behavior of Lua 5.3/5.4 interperter (and the only way with Lua 5.1) is the automatic coercion. This default behavior could change in future version (ie. Lua 5.5). Disabling automatic coercion increases the performance of the interpreter. Currently, using automatic coercion is not a good/recommended practice, but there are no way (expect testing) to say if a Lua module relies on it. We add two options to drive coercion in either way, and we make those options default to y, as this was the de-facto situation until now; lua 5.1 forces those options: this will help when/if we have packages that actually requires them, but has otherwise no requirement on the lua version. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: - don't limit options to lua 5.3||5.4 - force those options for lua 5.1 - extend commit log accordingly ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> |
||
---|---|---|
.. | ||
5.1.5 | ||
5.3.6 | ||
5.4.4 | ||
Config.in | ||
lua.mk | ||
lua.pc.in |