bug-inetutils
[Top][All Lists]
Advanced

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

[bug-inetutils] Ping6 is not built ([SCM] inetutils-1_8-163-gd225085)


From: Mats Erik Andersson
Subject: [bug-inetutils] Ping6 is not built ([SCM] inetutils-1_8-163-gd225085)
Date: Mon, 21 Nov 2011 17:51:03 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

lördag den 19 november 2011 klockan 14:08 skrev Alfred M. Szmidt detta:
> 
> --- a/configure.ac
> +++ b/configure.ac
> @@ -367,6 +367,10 @@ else
>    if test "X$working_icmp6" = "Xyes"; then
>      IU_CHECK_MACRO(IPV6_RECVHOPLIMIT, [#include <netinet/in.h>], ,
>                  [have_recvhoplimt=yes], [have_recvhoplimt=no])
> +    IU_CHECK_MACRO(IPV6_2292HOPLIMIT, [#include <netinet/in.h>], , [
> +      AC_DEFINE([IPV6_HOPLIMIT], IPV6_2292HOPLIMIT,
> +                [Define to IPV6_HOPLIMIT if not available])
> +    ], [working_icmp6=no])
>      if test "X$have_recvhoplimt" = "Xno"; then
>        IU_CHECK_MACRO(IPV6_HOPLIMIT, [#include <netinet/in.h>], , [
>          AC_DEFINE([IPV6_RECVHOPLIMIT], IPV6_HOPLIMIT,

This is badly conceived, unfortunately. This conditional disables ping6
at least for OpenBSD, GNU/kFreeBSD, and OpenSolaris.

  * Solaris has IPV6_RECVHOPLIMIT, but lacks IPV6_2292HOPLIMIT.

  * OpenBSD, FreeBSD, and kFreeBSD all have IPV6_RECVHOPLIMIT,
    as well as IPV6_2292HOPLIMIT, but the latter is reserved
    for kernel code, unless manually specified.

Thus BSD and Solaris will presently fail in building ping6
by default, in spite of our source being fully functional
also for them.

Regards,
  Mats



reply via email to

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