Comment 3 for bug 696952

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 696952] Re: configure fails to find arpa/nameser.h when CFLAGS="-ansi" is used

On 04.01.2011 01:38, Austin English wrote:
> checking arpa/nameser.h usability... no
> checking arpa/nameser.h presence... yes
> configure: WARNING: arpa/nameser.h: present but cannot be compiled
> configure: WARNING: arpa/nameser.h: check for missing prerequisite headers?
> configure: WARNING: arpa/nameser.h: see the Autoconf documentation
> configure: WARNING: arpa/nameser.h: section "Present But Cannot Be Compiled"
> configure: WARNING: arpa/nameser.h: proceeding with the compiler's result
> configure: WARNING: ## ------------------------------------ ##
> configure: WARNING: ## Report this to <email address hidden> ##
> configure: WARNING: ## ------------------------------------ ##
> checking for arpa/nameser.h... no
>
> I'll attach config.log.
>
>> From the Wine bug report:
> "With CFLAGS="-ansi", the configure check for arpa/nameser.h fails to compile.
>
> This is caused by nameser.h relying on BSD libc features to compile, which
> aren't enabled when -ansi is defined."

I was hoping for the source and command line arguments.