Subject: Re: configure changes?

Re: configure changes?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-04-07

On Thu, 7 Apr 2005, codemastr wrote:

> I don't know what happened, but it seems that someone changed something in
> configure.ac, and now in6_addr (and in_addr) are not found? I get the
> following:
>
> checking for struct in6_addr... no
> checking size of struct in6_addr... 0
> checking for struct in_addr... no
> checking size of struct in_addr... 0

I've been changing the configure stuff slightly to address the various build
problems we've seen. Can you check your config.log to get some details the
test program that fails?

> The check I have (CARES_CHECK_STRUCT) works fine for detecting it, but
> AC_CHECK_SIZEOF fails to find the structs.

> Also, are you aware that AC_CHECK_SIZEOF does not work for cross compiling?

The problem was that on IRIX, the NS_* defines I added at the bottom of
inet_net_pton.h were missing and caused the build to fail.

These sizeof checks I added to configure only serve as a backup to the
existing checks, should they fail.

-- 
   c-ares -- my preferred DNS asynch resolver library
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Thu Apr 7 22:58:40 2005