From: Aki Tuomi Date: Mon, 27 Nov 2017 12:56:07 +0000 (+0200) Subject: configure: Drop LuaJIT support X-Git-Tag: 2.3.0.rc1~345 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5b03874cc8f9ab22ef4080090d2bfcff726642c;p=thirdparty%2Fdovecot%2Fcore.git configure: Drop LuaJIT support Does not work with our custom allocator --- diff --git a/configure.ac b/configure.ac index b3034cc5a6..41542e8b36 100644 --- a/configure.ac +++ b/configure.ac @@ -543,7 +543,6 @@ dict_drivers="" dnl *** auth/userdb/dict things DOVECOT_WANT_LUA_PLUGIN DOVECOT_WANT_LUA -DOVECOT_WANT_LUAJIT DOVECOT_WANT_PREFETCH DOVECOT_WANT_PASSWD DOVECOT_WANT_SHADOW diff --git a/m4/want_lua.m4 b/m4/want_lua.m4 index 0ff3cebe70..30e913ff62 100644 --- a/m4/want_lua.m4 +++ b/m4/want_lua.m4 @@ -7,34 +7,6 @@ AC_DEFUN([DOVECOT_WANT_LUA_PLUGIN],[ AM_CONDITIONAL([AUTH_LUA_PLUGIN], [test "x$with_lua_plugin" = "xyes"]) ]) -AC_DEFUN([DOVECOT_WANT_LUAJIT],[ - AS_IF([test "$xwith_luajit" = "xplugin"], [with_lua_plugin=yes], []) - AC_MSG_CHECKING([whether we will be linking in LuaJIT]) - AC_ARG_WITH([luajit], - [AS_HELP_STRING([--with-luajit], [build LuaJIT bindings @<:@default=auto@:>@])], - [with_luajit=$withval], - [with_luajit=no] - ) - AC_MSG_RESULT([$with_luajit]) - - AS_IF([test "x$with_luajit" != "xno"], [ - LUAJITPC="$with_luajit" - PKG_CHECK_MODULES([LUA], [luajit], - [AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have LuaJIT])], - [LUAJITPC=""] - ) - AS_IF([test "x$LUAJITPC" = "x"], [ - AC_MSG_ERROR([LuaJIT not found])] - ) - ]) - - AS_IF([test "x$with_luajit" = "xyes"], - AS_IF([test "x$with_lua_plugin" != "xyes"], - AC_DEFINE([BUILTIN_LUA],, [Lua support is builtin]) - ) - ) -]) - AC_DEFUN([DOVECOT_WANT_LUA],[ AS_IF([test "$xwith_lua" = "xplugin"], [with_lua_plugin=yes], []) AC_MSG_CHECKING([whether we will be linking in Lua])