]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
configure: improve description of struct in6_pktinfo check
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 12 Oct 2015 09:29:13 +0000 (11:29 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 12 Oct 2015 11:41:18 +0000 (13:41 +0200)
configure

index 453c4e55eedaa8379fb47b437623651bcb64f911..4498e0fb3be0c96f73c5dad44a08b3d9b7499ba1 100755 (executable)
--- a/configure
+++ b/configure
@@ -527,12 +527,12 @@ if [ $feat_ipv6 = "1" ] && \
     return !inet_ntop(AF_INET6, &n.sin6_addr.s6_addr, p, sizeof(p));'
 then
   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;'
   then
     add_def HAVE_IN6_PKTINFO
   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;'
     then
       add_def _GNU_SOURCE