bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failure of IPv6 detection for BSD.


From: Mats Erik Andersson
Subject: Failure of IPv6 detection for BSD.
Date: Sat, 18 Sep 2010 16:05:50 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

in detecting the size of "struct sockaddr_in6" for BSD, in my
case OpenBSD 4.6, the inclusion of <sys/types.h> is mandatory.
Thus the test case must read

   #include <sys/types.h>
   #include <netinet/in.h>

   int
   main (void)
   {
       if (sizeof (struct sockaddr_in6))
          return 0;
       else
          return 0;
   }

Since "sys/types.h" is missing in the configure script
built using "bootstrap", the result is that OpenBSD is
judged as being inferior, according to "config.log":

   configure:31742: WARNING: IPv6 support not available, disabling IPv6

This is most unfortunate!


Best regards,
Mats E Andersson



reply via email to

[Prev in Thread] Current Thread [Next in Thread]