mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 06:37:08 +00:00
fedora 9 configure check.
git-svn-id: file:///svn/unbound/trunk@1085 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
d13686227c
commit
96d4800692
568
aclocal.m4
vendored
568
aclocal.m4
vendored
File diff suppressed because it is too large
Load Diff
11
configure.ac
11
configure.ac
@ -232,6 +232,17 @@ int test() {
|
||||
}
|
||||
], [CFLAGS="$CFLAGS -D_BSD_SOURCE"])
|
||||
|
||||
CHECK_COMPILER_FLAG_NEEDED(-D_GNU_SOURCE,
|
||||
[
|
||||
#include <netinet/in.h>
|
||||
|
||||
int test() {
|
||||
struct in6_pktinfo inf;
|
||||
int a = (int)sizeof(inf);
|
||||
return a;
|
||||
}
|
||||
], [CFLAGS="$CFLAGS -D_GNU_SOURCE"])
|
||||
|
||||
CHECK_COMPILER_FLAG_NEEDED(-D_POSIX_C_SOURCE=200112,
|
||||
[
|
||||
#include "confdefs.h"
|
||||
|
@ -1,3 +1,6 @@
|
||||
19 May 2008: Wouter
|
||||
- fedora 9, check in6_pktinfo define in configure.
|
||||
|
||||
16 May 2008: Wouter
|
||||
- fixup for MacOSX hosts file reading (reported by John Dickinson).
|
||||
- created 1.0.0 svn tag.
|
||||
|
@ -330,7 +330,7 @@ compress_any_dname(uint8_t* dname, ldns_buffer* pkt, int labs,
|
||||
struct regional* region, struct compress_tree_node** tree)
|
||||
{
|
||||
struct compress_tree_node* p;
|
||||
struct compress_tree_node** insertpt;
|
||||
struct compress_tree_node** insertpt = NULL;
|
||||
size_t pos = ldns_buffer_position(pkt);
|
||||
if((p = compress_tree_lookup(tree, dname, labs, &insertpt))) {
|
||||
if(!write_compressed_dname(pkt, dname, labs, p))
|
||||
|
Loading…
Reference in New Issue
Block a user