]> gitweb.ps.run Git - ps-cgit/commitdiff
makefile: auto-detect presence of various Lua, bsd
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 00:50:31 +0000 (01:50 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 14 Jan 2014 01:00:07 +0000 (02:00 +0100)
We favor LuaJIT over Lua. We disable Lua if neither can be found. We
error out if a particular Lua is specified via LUA_IMPLEMENTATION=JIT or
LUA_IMPLEMENTATION=VANILLA, but cannot be found. We print a status
message depending on what happens.

Also, we do not link against libdl on the BSDs, since they include it as
part of libc.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>

No differences found