build libunbound from external if no local libunbound or for static builds

This commit is contained in:
Riccardo Spagni 2014-10-06 15:00:06 +02:00
parent add1a608dd
commit cee87473ad
5 changed files with 270 additions and 232 deletions

View file

@ -29,7 +29,8 @@
#include "common/dns_utils.h"
#include <cstring>
#include <sstream>
#include <unbound.h>
// check local first (in the event of static or in-source compilation of libunbound)
#include "unbound.h"
#include <stdlib.h>
#include "include_base_utils.h"