Subject: Re: Detecting if inet_pton supports IPv6

Re: Detecting if inet_pton supports IPv6

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

On Mon, 4 Apr 2005 codemstr@ptd.net wrote:

> The only way I know of would be to try calling it with AF_INET6 and see if
> it succeeds, however that's not going to work with cross- compilation.
> Should we just completely ignore system supplied inet_pton and inet_net_pton
> and always use the ones we supply? Or is there some way we can do this and
> still maintain cross-compilation support?

We can check, and always assume a non-working function when cross-compiling.
(With a command line option that can override it.)

Ought to work, wouldn't it?

-- 
          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Mon Apr 4 08:58:38 2005