-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 10 Sep 2002 08:16 am, Niels M�ller wrote:
> Timshel Knoll <[EMAIL PROTECTED]> 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
Yes, this will do what I wanted ... thanks.
Cheers,
Timshel
- --
Timshel Knoll <[EMAIL PROTECTED]>, Debian email: <[EMAIL PROTECTED]>
Debian GNU/Linux developer: http://people.debian.org/~timshel/
GnuPG public key: finger [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9fbBAXfqTkd4+iqcRAiirAJ9WkkgP92YMOonIG/aoeWdp2Zry/ACfeh+3
TJRUQoKRItxj2ReW+68m1+g=
=sHqj
-----END PGP SIGNATURE-----
_______________________________________________
lsh-bugs mailing list
[EMAIL PROTECTED]
http://lists.lysator.liu.se/mailman/listinfo/lsh-bugs