From d094f1b3529d25481205eb90326a9d53da44e820 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 14 Dec 2022 16:41:10 +0300 Subject: [PATCH] fix(tooling): Exempt LuaJIT from external bit32 library requirement (#1654) --- configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index bb229e8ba..2eaa021c7 100644 --- a/configure.ac +++ b/configure.ac @@ -127,9 +127,11 @@ AM_COND_IF([DEPENDENCY_CHECKS], [ AX_LUA_LIBS AM_COND_IF([SYSTEM_LUAROCKS], [ - AS_IF([test "$LUA_SHORT_VERSION" -lt 52], - AX_LUA_MODULE([bit32], [bit32]) - ) + AS_IF([test "$LUA_SHORT_VERSION" -lt 52], [ + AM_COND_IF([LUAJIT], [], [ + AX_LUA_MODULE([bit32], [bit32]) + ]) + ]) AX_LUA_MODULE([cassowary], [cassowary]) AS_IF([test "$LUA_SHORT_VERSION" -lt 53], AX_LUA_MODULE([compat53], [compat53])