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
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:
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
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
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