migrate to a standard build system
The current build system is a mess and confuses users. Something standard (autotools? meson? something else?) would be more familiar and could solve some of these issues "for free":
- #338 (closed)
- #212 (closed) (maybe we should remove support for static build)
- #290 (closed)
- #267 (closed)
Also something which can gather some parts of C headers for further use in Lua FFI would be useful.
Edited by Petr Špaček