]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Allow building the Lua backend with luajit 5254/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 19 Apr 2017 08:46:47 +0000 (10:46 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 19 Apr 2017 08:46:47 +0000 (10:46 +0200)
configure.ac

index 0956e2fb1888c1c34ab6f4d9f27fcbdd49a4e82f..2151103eba74f3e2b1f4a87e4e15d1e7cb8de019 100644 (file)
@@ -205,7 +205,7 @@ for a in $modules $dynmodules; do
       AS_IF([test "x$with_lua" = "xno"],
         AC_MSG_ERROR([Lua backend needs lua, run ./configure --with-lua])
       )
-      AS_IF([test "x$LUAPC" = "x"],
+      AS_IF([test "x$LUAPC" = "x" -a "x$LUAJITPC" = "x"],
         AC_MSG_ERROR([Lua backend needs lua but we cannot find it])
       )
       ;;