]> git.ipfire.org Git - thirdparty/collectd.git/commit
lua: add fallback to detect LuaJIT 3778/head
authorKentaro Hayashi <hayashi@clear-code.com>
Mon, 5 Oct 2020 06:36:18 +0000 (15:36 +0900)
committerKentaro Hayashi <hayashi@clear-code.com>
Sat, 23 Dec 2023 14:57:35 +0000 (23:57 +0900)
commit4763671c0e4408d2f87e76252fe3f1a0ee22c681
treecb6cb5a022a6b3f6605e1996ea4a57ddbf9f0b19
parente085aa877717e4a1cb5b5a318daf72b3bdfde56c
lua: add fallback to detect LuaJIT

Before:
  LIBLUA_PKG_CONFIG_NAME=luajit ./configure --enable-lua

After:
  ./configure --enable-lua

In the previous versions, for enabling LuaJIT,
it needs to specify LIBLUA_PKG_CONFIG_NAME=luajit explicitly.

In this commit, add fallback to detect LuaJIT without specifying
LIBLUA_PKG_CONFIG_NAME=luajit explicitly by default (just use
--enable-lua).

Note that if both of lua and luajit exists, then lua is used.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
configure.ac