At one point, we considered supporting LuaJIT. While it turned out to be
not worth it, the prototype removal accidentally left checks in the
configure file.
DOVECOT_SQL
AM_CONDITIONAL([AUTH_LUA_PLUGIN], [test "x$with_lua_plugin" = "xyes"])
-AM_CONDITIONAL([HAVE_LUA], [test "x$with_luajit" = "xyes" || test "x$with_lua" = "xyes"])
-AS_IF([test "x$with_luajit" = "xyes" || test "x$with_lua" = "xyes"],
+AM_CONDITIONAL([HAVE_LUA], [test "x$with_lua" = "xyes"])
+AS_IF([test "x$with_lua" = "xyes"],
AS_IF([test "x$with_lua_plugin" = "xyes"],
[userdb="$userdb lua (plugin)"; passdb="$passdb lua (plugin)"],
[userdb="$userdb lua"; passdb="$passdb lua"],