]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make sure we can build w/o Lua again, closing ticket http://wiki.powerdns.com/trac...
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 3 Oct 2012 19:54:24 +0000 (19:54 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 3 Oct 2012 19:54:24 +0000 (19:54 +0000)
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

pdns/lua-auth.cc
pdns/lua-pdns.cc

index a823c7f5c212f3fe59dd2ba98bbab29d6b9e4892..9dac2a010e9450e72574019c475ddc55905cdb30 100644 (file)
@@ -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;
 }
index 9da9a37a7a7ed08d6341266ca94c0fe4ed6a1d50..ae556b987fad6f6497862b0856f560aeb462f547 100644 (file)
@@ -1,8 +1,9 @@
 #include "lua-pdns.hh"
 // #include "syncres.hh"
 #include <boost/foreach.hpp>
+#include "config.h"
 
-#if !defined(PDNS_ENABLE_LUA)
+#if !defined(HAVE_LUA)
 
 // stub implementation