]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Feature] Distinguish luajit from lua
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 May 2016 09:11:33 +0000 (10:11 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 9 May 2016 09:11:33 +0000 (10:11 +0100)
CMakeLists.txt
config.h.in

index 22f5e02f40515e0ba4b93065c495f9adcd4be0fb..19da2632dc796d35cdd39a0fbc30f582d5f3ba1e 100644 (file)
@@ -261,6 +261,8 @@ MACRO(FindLua)
                                PATHS ${RSPAMD_DEFAULT_LIBRARY_PATHS}
                                DOC "Lua library"
                        )
+               ELSE()
+                       SET(WITH_LUAJIT 1)
                ENDIF()
        ELSE(ENABLE_LUAJIT MATCHES "ON")
                MESSAGE(STATUS "Check for lua ${LUA_VERSION_MAJOR}.${LUA_VERSION_MINOR}")
index 9cc046c956c69c0322d9ccf8a97eef18e69880a7..d858f65c6590bf2b33e504f2a155849b826ca253 100644 (file)
 #cmakedefine WITH_JEMALLOC       1
 #cmakedefine WITH_JUDY           1
 #cmakedefine WITH_LUA            1
+#cmakedefine WITH_LUAJIT         1
 #cmakedefine WITH_PCRE2          1
 #cmakedefine WITH_PROFILER       1
 #cmakedefine WITH_SNOWBALL       1