bug-autoconf
[Top][All Lists]
Advanced

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

Re: autoconf 2.56: <resolv.h> detection


From: Ralf Corsepius
Subject: Re: autoconf 2.56: <resolv.h> detection
Date: 19 Nov 2002 13:05:09 +0100

Am Die, 2002-11-19 um 11.56 schrieb Dimitri PAPADOPOULOS-ORFANOS:
> Hi,
> 
> There's a problem with <resolv.h> detection on Solaris and
> most probably on other UNIX systems.
> 
> [...]
> 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
> configure: WARNING:     ## ------------------------------------ ##
> configure: WARNING:     ## Report this to address@hidden ##
> configure: WARNING:     ## ------------------------------------ ##
> [...]
> 
> See also:
> http://bugzilla.gnome.org/show_bug.cgi?id=98880
> 
> And indeed configure.in contains:
> AC_CHECK_HEADERS(stdlib.h sys/socket.h netinet/in.h arpa/inet.h)
> AC_CHECK_HEADERS(sys/timeb.h signal.h arpa/nameser.h resolv.h)

>       <resolv.h>
>       This header file contains global definitions for the
>       resolver. [...] You must include the <sys/types.h>,
>       <netinet/in.h>, and <arpa/nameser.h> header files
>       before this header file.
This clearly explains why autoconf refuses to accept your resolv.h.

You might want to read what autoconf.info says about the 4th parameter
(INCLUDES) to AC_CHECK_HEADER and AC_CHECK_HEADERS.

Ralf






reply via email to

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