]> granicus.if.org Git - pdns/commitdiff
remove boost serialization which actually shaves seconds off ./configure and probably...
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 26 Nov 2015 17:41:00 +0000 (18:41 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 26 Nov 2015 17:41:00 +0000 (18:41 +0100)
configure.ac
pdns/Makefile.am
pdns/dns.hh
pdns/dnsname.hh
pdns/ueberbackend.cc

index 74746484eda46a49c2fa6822ea0700d5b6b624ea..6f0bdfa626d8f650d52340d9cba829e29f32c4ad 100644 (file)
@@ -115,8 +115,6 @@ PDNS_CHECK_CLOCK_GETTIME
 BOOST_REQUIRE([1.35])
 BOOST_FOREACH
 BOOST_PROGRAM_OPTIONS([mt])
-BOOST_SERIALIZATION([mt])
-
 PDNS_ENABLE_UNIT_TESTS
 PDNS_ENABLE_REPRODUCIBLE
 
index 2af90eb98bcbe9d0f4114d9962535f5e4148c1b7..c5a25a46abbe100254a21572f5affade9c8ebc26 100644 (file)
@@ -204,15 +204,13 @@ pdns_server_SOURCES = \
 
 pdns_server_LDFLAGS = \
        $(AM_LDFLAGS) \
-       $(DYNLINKFLAGS) \
-       $(BOOST_SERIALIZATION_LDFLAGS)
+       $(DYNLINKFLAGS) 
 
 pdns_server_LDADD = \
        @moduleobjects@ \
        @modulelibs@ \
        $(LIBDL) \
        $(MBEDTLS_LIBS) \
-       $(BOOST_SERIALIZATION_LIBS) \
        $(YAHTTP_LIBS)
 
 if BOTAN110
@@ -305,8 +303,7 @@ pdnssec_SOURCES = \
 pdnssec_LDFLAGS = \
        $(AM_LDFLAGS) \
        $(DYNLINKFLAGS) \
-       $(BOOST_PROGRAM_OPTIONS_LDFLAGS) \
-       $(BOOST_SERIALIZATION_LDFLAGS)
+       $(BOOST_PROGRAM_OPTIONS_LDFLAGS) 
 
 pdnssec_LDADD = \
        @moduleobjects@ \
@@ -314,7 +311,6 @@ pdnssec_LDADD = \
        $(LIBDL) \
        $(MBEDTLS_LIBS) \
        $(BOOST_PROGRAM_OPTIONS_LIBS) \
-       $(BOOST_SERIALIZATION_LIBS) \
        $(YAHTTP_LIBS)
 
 if BOTAN110
@@ -1064,13 +1060,11 @@ testrunner_SOURCES = \
 
 testrunner_LDFLAGS = \
        $(AM_LDFLAGS) \
-       $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) \
-       $(BOOST_SERIALIZATION_LDFLAGS)
+       $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) 
 
 testrunner_LDADD = \
        $(MBEDTLS_LIBS) \
        $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) \
-       $(BOOST_SERIALIZATION_LIBS) \
        $(RT_LIBS) \
        $(LIBDL)
 
index 9295b53638e0c439de17e9a4ecdbf0f5524673fb..24e40aa92f83cc8f86ab8b2bcc871941ede9a54a 100644 (file)
@@ -27,8 +27,6 @@
 #include <boost/tuple/tuple_comparison.hpp>
 #include <boost/multi_index/key_extractors.hpp>
 #include <boost/multi_index/sequenced_index.hpp>
-#include <boost/serialization/string.hpp>
-#include <boost/serialization/version.hpp>
 #include "qtype.hh"
 #include "dnsname.hh"
 #include <time.h>
index 6b43fa96fd3a1b6a764245db60de8cca911263a8..ff1495c77aed45a3f730a801cd83b7ce400f84dc 100644 (file)
@@ -85,12 +85,6 @@ public:
                                        }); // note that this is case insensitive, including on the label lengths
   }
 
-  template<class Archive>
-  void serialize(Archive &ar, const unsigned int version)
-  {
-    ar & d_storage;
-  }
-
   inline bool canonCompare(const DNSName& rhs) const;
   bool slowCanonCompare(const DNSName& rhs) const;  
 private:
index 6de8c33eac731ca0e0ddd365d648b8c1c2b2127f..169e8691674c3863488a77b92ffe842d31fd51f2 100644 (file)
@@ -45,8 +45,6 @@
 #include "dnspacket.hh"
 #include "logger.hh"
 #include "statbag.hh"
-#include <boost/serialization/vector.hpp>
-
 
 extern StatBag S;