Removing the --disable-nbdns config option.

- Asynchronous DNS resolver support assumed by default
- HAVE_ASYNC_DNS, HAVE_NB_DNS, and USE_NB_DNS preprocessor definitions
  removed
- In the process, I added FindBIND and CheckNameserCompat CMake modules
This commit is contained in:
Jon Siwek 2010-10-19 15:13:28 -05:00
parent 13569aaab7
commit 570ee48cd9
11 changed files with 111 additions and 86 deletions

View file

@ -406,11 +406,7 @@ int main(int argc, char** argv)
enum DNS_MgrMode dns_type = DNS_DEFAULT;
#ifdef HAVE_NB_DNS
dns_type = getenv("BRO_DNS_FAKE") ? DNS_FAKE : DNS_DEFAULT;
#else
dns_type = DNS_FAKE;
#endif
RETSIGTYPE (*oldhandler)(int);