From: Bert Hubert Date: Wed, 3 Oct 2012 19:54:24 +0000 (+0000) Subject: make sure we can build w/o Lua again, closing ticket http://wiki.powerdns.com/trac... X-Git-Tag: auth-3.2-rc1~140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab9501b14c91f512b94cad8b5556606ca7e11c45;p=thirdparty%2Fpdns.git make sure we can build w/o Lua again, closing ticket http://wiki.powerdns.com/trac/ticket/462 Double check if pdns_recursor is also happy with this change (probably not) git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2742 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/lua-auth.cc b/pdns/lua-auth.cc index a823c7f5c2..9dac2a010e 100644 --- a/pdns/lua-auth.cc +++ b/pdns/lua-auth.cc @@ -1,6 +1,6 @@ #include "lua-auth.hh" -#if !defined(PDNS_ENABLE_LUA) +#if !defined(HAVE_LUA) AuthLua::AuthLua(const std::string &fname) : PowerDNSLua(fname) @@ -8,7 +8,7 @@ AuthLua::AuthLua(const std::string &fname) // empty } -bool AuthLua::prequery(DNSPacket *p) +DNSPacket* AuthLua::prequery(DNSPacket *p) { return false; } diff --git a/pdns/lua-pdns.cc b/pdns/lua-pdns.cc index 9da9a37a7a..ae556b987f 100644 --- a/pdns/lua-pdns.cc +++ b/pdns/lua-pdns.cc @@ -1,8 +1,9 @@ #include "lua-pdns.hh" // #include "syncres.hh" #include +#include "config.h" -#if !defined(PDNS_ENABLE_LUA) +#if !defined(HAVE_LUA) // stub implementation