[Top][All Lists]

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

Re: check for resolv.h

From: Stepan Kasal
Subject: Re: check for resolv.h
Date: Fri, 3 Dec 2004 11:05:51 +0100
User-agent: Mutt/1.4.1i

Hello all,
  I have prepared another version of the AC_HEADER_RESOLV autoconf macro.
Attached is a patch against CVS; I have verified that it can be used with
autoconf-2.59b, too.

I have removed sys/socket.h; I wasn't able to find a reference to a
platform where it was required to include it before resolv.h.

I have added netdb.h, since Paul Eggert reports that it is needed on
Solaris 9.

Gerrit, Reini, could you please test the macro again?  (Of course, the
easiest way is to put the macro to aclocal.m4 and call AC_HEADER_RESOLV
in your

Thank you in advance for your help,
        Stepan Kasal

[AC_CHECK_HEADERS(sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h,
                 [], [],
#  include <sys/types.h>
#  include <netinet/in.h>   /* inet_ functions / structs */
#  include <arpa/nameser.h> /* DNS HEADER struct */
#  include <netdb.h>

Attachment: autoconf-20041203-resolv3.patch
Description: Text document

reply via email to

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