Timshel Knoll timshel@debian.org writes:
I think it would be OK just to put in the configure option - the Debian example would suggest that the problem has been fixed, IMHO.
Hmm. Then it should be good enough to simply drop that configure test,
--- configure.ac 3 Sep 2002 06:02:44 -0000 1.15 +++ configure.ac 9 Sep 2002 22:12:53 -0000 @@ -758,25 +758,7 @@ # IPv6 support
if test x$enable_ipv6 = xyes ; then - AC_CACHE_CHECK([if IPv6 is supported], - lsh_cv_sys_ipv6, - [AC_TRY_RUN([/* AF_INET6 avalable check */ - #include <sys/types.h> - #include <sys/socket.h> - int main(int argc, char **argv) - { - if (socket(AF_INET6, SOCK_STREAM, 0) < 0) - exit(1); - else - exit(0); - } - ], lsh_cv_sys_ipv6=yes, - lsh_cv_sys_ipv6=no, - lsh_cv_sys_ipv6=no)]) - - if test x$lsh_cv_sys_ipv6 != xyes ; then - enable_ipv6=no - elif test x$ac_cv_func_getaddrinfo != xyes ; then + if test x$ac_cv_func_getaddrinfo != xyes ; then AC_MSG_WARN([getaddrinfo not found. Disabling IPv6 support]) enable_ipv6=no elif test x$ac_cv_func_gai_strerror != xyes ; then
Does that solve the problem for you?
Regards, /Niels