Re: getaddrinfo on NetBSD 5.0

2010-04-16 Thread Simon Josefsson
Bruno Haible writes: > Ludovic Courtès wrote: >> I think the problem is that ‘gl_HEADER_NETDB’ determines ‘NETDB_H=''’ >> because is indeed available and it does define ‘struct >> addrinfo’; it just happens to lack some of the AI_ macros. > > That explains it. I propose to generate netdb.h alway

Re: getaddrinfo on NetBSD 5.0

2010-04-16 Thread Ludovic Courtès
Hi Bruno, Bruno Haible writes: >> ../libguile/net_db.x: In function 'scm_init_net_db': >> ../libguile/net_db.x:19: error: 'AI_V4MAPPED' undeclared (first use in this >> function) >> ../libguile/net_db.x:19: error: (Each undeclared identifier is reported only >> once >> ../libguile/net_db.x:19:

Re: getaddrinfo on NetBSD 5.0

2010-04-16 Thread Bruno Haible
Ludovic Courtès wrote: > I think the problem is that ‘gl_HEADER_NETDB’ determines ‘NETDB_H=''’ > because is indeed available and it does define ‘struct > addrinfo’; it just happens to lack some of the AI_ macros. That explains it. I propose to generate netdb.h always, like we do with stdlib.h and

Re: getaddrinfo on NetBSD 5.0

2010-04-15 Thread Bruno Haible
Hi Ludo, > ../libguile/net_db.x: In function 'scm_init_net_db': > ../libguile/net_db.x:19: error: 'AI_V4MAPPED' undeclared (first use in this > function) > ../libguile/net_db.x:19: error: (Each undeclared identifier is reported only > once > ../libguile/net_db.x:19: error: for each function it a

getaddrinfo on NetBSD 5.0

2010-04-15 Thread Ludovic Courtès
Hello, The following happens on NetBSD 5.0: --8<---cut here---start->8--- configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking for gai_strer