[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Install problem on Mac OS
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] Install problem on Mac OS |
Date: |
Sun, 05 Jun 2011 12:29:01 -0400 |
Thanks, the test in configure.ac is completely broken for <osockaddr.h>:
dnl We may need our own definition for struct osockaddr (equivalent to the
dnl old 4.3BSD struct sockaddr, and used in grotty bsd talk protocol)
AC_CHECK_TYPE(struct osockaddr, ,
[AC_DEFINE([HAVE_OSOCKADDR_H], 1,
[Define to one if you have <osockaddr.h>.])],
[IU_FLUSHLEFT([#include <sys/types.h>
#include <sys/socket.h> ])])
The AC_CHECK_TYPE function takes the following arguments:
AC_CHECK_TYPE (TYPE, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND],
[INCLUDES = `AC_INCLUDES_DEFAULT'])
Obviously, the above code in configure.ac defines HAVE_OSOCKADDR_H
when "struct osockaddr" is _not_ found.
In either case, the patch I sent previously should work, and I'll
commit a variant of it later on.
Thanks!
Re: [bug-inetutils] Install problem on Mac OS, Mats Erik Andersson, 2011/06/07