Mats Erik Andersson wrote: > > where do you find the source code of that test? > > ### inetutils/configure.ac, line 330 > ### > > if test ! "X$ipv6" = "Xno" && test "$working_ipv6" = "Xyes"; then > AC_CHECK_TYPE(struct sockaddr_in6, , working_ipv6=no, [#include > <netinet/in.h>]) > fi
Good, you got it. Bug in inetutils/configure.ac, line 331. > It seems to me that the blame must go to autoconf. Right? Or is the template > "configure.ac" maintained by GNU Inetutils incomplete? The documentation of AC_CHECK_TYPE <http://www.gnu.org/software/autoconf/manual/html_node/Generic-Types.html> says that AC_INCLUDES_DEFAULT (which includes <sys/types.h>) is not used when the fourth argument of AC_CHECK_TYPE is present. So it is the duty of inetutils/configure.ac line 331 to provide #include <sys/types.h>. Bruno