[Top][All Lists]

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

Re: [bug-inetutils] Ping6 is not built

From: Mats Erik Andersson
Subject: Re: [bug-inetutils] Ping6 is not built
Date: Tue, 29 Nov 2011 00:19:46 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

måndag den 28 november 2011 klockan 15:01 skrev Alfred M. Szmidt detta:
>    Alfred, could you consider giving this matter a priority
>    larger than infinitesimally small? 
> Sorry, I've been swamped with work and other GNU stuff.  I haven't
> forgotten.  Thank you for your patience with me!  The following is a
> bit more robust, could you try it out and see if it works?

It does not work, but only because you did not perform a spell check!

The difference below is an interdiff(1) between your suggested modification
of "configure.ac" and the modification I found to be correct for

  GNU/kFreeBSD, OpenBSD, GNU/OpenSolaris.

You forgot spell checking "hoplimt" against "hoplimit", and you also
left out citations, making test(1) complain on "&&" where "-a" was
the expected predicate.


diff -u b/configure.ac b/configure.ac
--- b/configure.ac
+++ b/configure.ac
@@ -389,23 +389,23 @@
   if test "$working_icmp6" = "yes"; then
     IU_CHECK_MACRO(IPV6_HOPLIMIT, [#include <netinet/in.h>], ,
-                  [have_hoplimt=yes], [have_hoplimt=no])
+                  [have_hoplimit=yes], [have_hoplimit=no])
     IU_CHECK_MACRO(IPV6_2292HOPLIMIT, [#include <netinet/in.h>], ,
-                  [have_2292hoplimt=yes], [have_2292hoplimt=no])
+                  [have_2292hoplimit=yes], [have_2292hoplimit=no])
     IU_CHECK_MACRO(IPV6_RECVHOPLIMIT, [#include <netinet/in.h>], ,
-                  [have_recvhoplimt=yes], [have_recvhoplimt=no])
+                  [have_recvhoplimit=yes], [have_recvhoplimit=no])
     # Reset, ping6 can't compile without HOPLIMIT/RECVHOPLIMIT (or
     # similar).
-    if test $have_recvhoplimit = yes && $have_hoplimit = yes; then  
+    if test $have_recvhoplimit = yes -a $have_hoplimit = yes; then
       # ping6 uses HOPLIMIT and RECVLIMIT, if those exist, happy happy
       # joy joy.
-    if test $have_2292hoplimit = yes && $have_hoplimit = no; then
+    if test $have_2292hoplimit = yes -a $have_hoplimit = no; then
       # Some systems (BSDs) define these macros prefixed with "2292",
       # violating RFC 2292; work around it.
@@ -413,7 +413,7 @@
-    if test $have_recvhoplimt = no && $have_hoplimit = yes; then
+    if test $have_recvhoplimit = no -a $have_hoplimit = yes; then
       # There exist strange systems (FIXME: which ones?) where
       # RECVHOPLIMIT might not be defined, but HOPLIMIT is.  So define
       # that.

reply via email to

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