bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] bug in ping: ip->ip_src and ip->ip_dst hold the same


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] bug in ping: ip->ip_src and ip->ip_dst hold the same value
Date: Fri, 21 Nov 2003 23:36:37 +0100 (MET)

Could you try the following and see if it works?  If you do, please
also make sure that the values that get set are correct!

--- configure.ac.~1.18.~        2003-05-25 01:36:45.000000000 +0200
+++ configure.ac        2003-11-21 23:31:37.000000000 +0100
@@ -536,7 +536,7 @@ AC_REPLACE_FUNCS(revoke)
 jm_INCLUDED_REGEX(libinetutils/regex.c)
 
 AC_CHECK_FUNC(_obstack_free, ,
-  AC_LIBOBJ(obstack) INCLUDES="$INCLUDES obstack.h")
+  [AC_LIBOBJ([obstack]) INCLUDES="$INCLUDES obstack.h"])
 
 dnl Use (posix) `setpgid' if it's around, otherwise assume a BSD setpgrp
 AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpgid, setpgrp,
@@ -545,36 +545,36 @@ AC_CHECK_FUNC(setpgid, , AC_DEFINE(setpg
 dnl We use our own version of getopt (including our own header file) if the
 dnl system one doesn't have getopt_long.
 AC_CHECK_FUNC(getopt_long, ,
-  AC_LIBOBJ(getopt)
-  AC_LIBOBJ(getopt1)
-  INCLUDES="$INCLUDES getopt.h")
+  [AC_LIBOBJ(getopt)
+   AC_LIBOBJ(getopt1)
+   INCLUDES="$INCLUDES getopt.h"])
 
 dnl Supply a version of poll() if the libray is missing.
 dnl syslogd uses poll() unconditionnaly.
 AC_CHECK_FUNC(poll, ,
-  AC_DEFINE(HAVE_POLL_H, 1, [Define to one if you have <poll.h>])
-  AC_LIBOBJ(poll)
-  INCLUDES="$INCLUDES poll.h")
+  [AC_DEFINE(HAVE_POLL_H, 1, [Define to one if you have <poll.h>])
+   AC_LIBOBJ(poll)
+   INCLUDES="$INCLUDES poll.h"])
 
 dnl Supply versions of the BSD error reporting functions if the system doesn't
 AC_CHECK_FUNC(verrx, ,
-  AC_LIBOBJ(err)
-  INCLUDES="$INCLUDES err.h")
+  [AC_LIBOBJ(err)
+   INCLUDES="$INCLUDES err.h"])
 
 dnl See if the __PROGNAME variable is defined, otherwise use our own.
 AC_CHECK_FUNC(__progname,
   AC_DEFINE(HAVE___PROGNAME, 1, [Define to one if you have __progname]),
-  AC_LIBOBJ(__progname))
+  [AC_LIBOBJ(__progname)])
 
 dnl See if snprintf exists, otherwise just use a bogus version
 AC_CHECK_FUNC(snprintf,
   AC_DEFINE(HAVE_SNPRINTF, 1, [Define to one if you have snprintf]),
-  AC_LIBOBJ(snprintf))
+  [AC_LIBOBJ(snprintf)])
 
 dnl See if vsnprintf exists, otherwise use our own.
 AC_CHECK_FUNC(vsnprintf,
   AC_DEFINE(HAVE_VSNPRINTF, 1, [FIXME]),
-  AC_LIBOBJ(snprintf))
+  [AC_LIBOBJ(snprintf)])
 AH_BOTTOM(
 [#ifndef HAVE_VSNPRINTF
 #include <sys/types.h>
@@ -587,7 +587,7 @@ extern int vsnprintf __P ((char *, size_
 #endif])
 
 dnl See if the system has strerror, and replace it if not
-AC_CHECK_FUNC(strerror, , AC_LIBOBJ(strerror))
+AC_CHECK_FUNC(strerror, , [AC_LIBOBJ(strerror)])
 if test "$ac_cv_func_strerror" = no; then
   # No strerror, so see if the SYS_ERRLIST variable can be used by ours
   AC_CHECK_FUNC(sys_errlist, AC_DEFINE(HAVE_SYS_ERRLIST, 1,
@@ -602,7 +602,7 @@ if test "$ac_cv_func_strerror" = no; the
 fi
 
 dnl See if the system has hstrerror, and replace it if not
-AC_CHECK_FUNC(hstrerror, , AC_LIBOBJ(hstrerror))
+AC_CHECK_FUNC(hstrerror, , [AC_LIBOBJ(hstrerror)])
 if test "$ac_cv_func_hstrerror" = yes; then
   AC_CHECK_DECL(hstrerror, , , [#include <netdb.h>])
 else




reply via email to

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