configure: improve description of struct in6_pktinfo check
This commit is contained in:
parent
85f7a4054d
commit
d6b6461658
1 changed files with 2 additions and 2 deletions
4
configure
vendored
4
configure
vendored
|
@ -527,12 +527,12 @@ if [ $feat_ipv6 = "1" ] && \
|
||||||
return !inet_ntop(AF_INET6, &n.sin6_addr.s6_addr, p, sizeof(p));'
|
return !inet_ntop(AF_INET6, &n.sin6_addr.s6_addr, p, sizeof(p));'
|
||||||
then
|
then
|
||||||
add_def FEAT_IPV6
|
add_def FEAT_IPV6
|
||||||
if test_code 'in6_pktinfo' 'sys/socket.h netinet/in.h' '' '' '
|
if test_code 'struct in6_pktinfo' 'sys/socket.h netinet/in.h' '' '' '
|
||||||
return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;'
|
return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;'
|
||||||
then
|
then
|
||||||
add_def HAVE_IN6_PKTINFO
|
add_def HAVE_IN6_PKTINFO
|
||||||
else
|
else
|
||||||
if test_code 'in6_pktinfo with _GNU_SOURCE' 'sys/socket.h netinet/in.h' \
|
if test_code 'struct in6_pktinfo with _GNU_SOURCE' 'sys/socket.h netinet/in.h' \
|
||||||
'-D_GNU_SOURCE' '' 'return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;'
|
'-D_GNU_SOURCE' '' 'return sizeof (struct in6_pktinfo) + IPV6_PKTINFO;'
|
||||||
then
|
then
|
||||||
add_def _GNU_SOURCE
|
add_def _GNU_SOURCE
|
||||||
|
|
Loading…
Reference in a new issue