#include "misc.hh"
#include "dnswriter.hh"
#include "dnsrecords.hh"
+#ifndef RECURSOR
#include "statbag.hh"
+#endif
#include "iputils.hh"
#include <boost/algorithm/string.hpp>
#include <systemd/sd-daemon.h>
#endif
-#ifndef RECURSOR
-#include "statbag.hh"
-StatBag S;
-#endif
-
__thread FDMultiplexer* t_fdm;
__thread unsigned int t_id;
unsigned int g_maxTCPPerClient;
#include "namespaces.hh"
-#ifndef RECURSOR
-#include "statbag.hh"
-StatBag S;
-#endif
-
ArgvMap &arg()
{
static ArgvMap arg;
sillyrecords.cc \
sortlist.cc sortlist.hh \
sstuff.hh \
- statbag.hh statbag.cc \
syncres.cc syncres.hh \
ueberbackend.hh \
unix_utility.cc \
qtype.cc \
rec_channel.cc rec_channel.hh \
rec_control.cc \
- statbag.cc \
unix_utility.cc
dnslabeltext.cc: dnslabeltext.rl
[Define _GNU_SOURCE so that we get all necessary prototypes]
)
+AC_DEFINE([RECURSOR], [1],
+ [This is the PowerDNS Recursor]
+)
+
# Warn when pkg.m4 is missing
m4_pattern_forbid([^_?PKG_[A-Z_]+$], [*** pkg.m4 missing, please install pkg-config])
+++ /dev/null
-../statbag.cc
\ No newline at end of file
+++ /dev/null
-../statbag.hh
\ No newline at end of file