-
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Lua version detection and Lua 5.3 support (#132)
* libtu/Makefile: it's C89, not C98 * Lua 5.3 removed deprecated variadic function `arg' parameter Variadic functions were introduced in 5.0, but the method of accessing them changed in 5.1. This makes the code incompatible with 5.0 (it is already incompatible since at least b2b1755), which will be removed from the build system in a subsequent commit. Fixes #124. See also #90. * Remove Lua 5.0 from the build system and improve lua-detect.mk Lua doesn't include an official pkg-config file, therefore we can't rely on pkg-config variables like "V" or "major_version" - on my system, it detected the 5.3 library/cflags and used the 5.1 lua/luac binaries (I have both installed and there was a fallback to 5.1 if it couldn't query these variables from pkg-config).
- Loading branch information
Showing
6 changed files
with
65 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters