bug-inetutils
[Top][All Lists]
Advanced

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

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


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] Ping6 is not built ([SCM] inetutils-1_8-163-gd225085)
Date: Mon, 21 Nov 2011 13:52:40 -0500

   > --- 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.

Ah, that wasn't my intention.  I did sit for a while thinking of the
logic here, and tried it on GNU where we have IPV6_HOPLIMIT and such.
I'll think a bit more, if you have a solution please tell.

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

Yeah, my fault.



reply via email to

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