[Top][All Lists]

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

Re: bug report for Darwin 6.8 (OSX 10.2)

From: Ralf Wildenhues
Subject: Re: bug report for Darwin 6.8 (OSX 10.2)
Date: Thu, 16 Mar 2006 15:04:10 +0100
User-agent: Mutt/1.5.11

Hi William,

* William Schaub wrote on Thu, Mar 09, 2006 at 06:21:51PM CET:
> configure: WARNING: resolv.h: present but cannot be compiled
> configure: WARNING: resolv.h: check for missing prerequisite headers?
> configure: WARNING: resolv.h: proceeding with the preprocessor's result

> The following is because on darwin 6.8 (and possibly others im not sure)
> <arpa/nameser.h> is a pre-requisite to including resolv.h 

Thanks for the bug report.  The next Autoconf release will have 
a macro AC_HEADER_RESOLV and corresponding documentation (already
in the CVS version), which you can take as a guideline until then.
Please report back if it was not sufficient.


|     Checks for header `resolv.h', checking for prerequisities first.
|     To properly use `resolv.h', your code should contain something like
|     the following:
|     #if HAVE_SYS_TYPES_H
|     #  include <sys/types.h>
|     #endif
|     #ifdef HAVE_NETINET_IN_H
|     #  include <netinet/in.h>   /* inet_ functions / structs */
|     #endif
|     #ifdef HAVE_ARPA_NAMESER_H
|     #  include <arpa/nameser.h> /* DNS HEADER struct */
|     #endif
|     #ifdef HAVE_NETDB_H
|     #  include <netdb.h>
|     #endif
|     #include <resolv.h>

reply via email to

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