m4/netdb_h.m4


Log

Author Commit Date CI Message
Bruno Haible 394c5a6e 2008-11-15T21:17:23 Make the netdb.h replacement work on Haiku.
Bruno Haible 80c47220 2008-11-11T01:23:24 Use substituted macros instead of C preprocessor macros.
Eric Blake 9a53061c 2008-10-22T05:34:48 netdb: also supply struct addrinfo for cygwin 1.5.x * m4/netdb_h.m4 (gl_HEADER_NETDB): Check for incomplete header on older cygwin. * lib/netdb.in.h [!HAVE_STRUCT_ADDRINFO]: Also supply contents for cygwin. * doc/posix-headers/netdb.texi (netdb.h): Document this. Signed-off-by: Eric Blake <ebb9@byu.net>
Simon Josefsson dbf8ca54 2008-10-20T09:53:42 Move getaddrinfo.h declarations to netdb.h. * lib/getaddrinfo.h: Remove file. * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h. * m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h. * lib/netdb.in.h: Add declarations from getaddrinfo.h. * m4/netdb_h.m4: Initialize GNULIB_GETADDRINFO to 0. * modules/netdb: Substitute GNULIB_GETADDRINFO. * lib/getaddrinfo.c: Include netdb.h instead of getaddrinfo.h. * tests/test-getaddrinfo.c: Likewise. * lib/gai_strerror.c: Likewise. Also drop HAVE_NETDB_H check. * NEWS: Mention change.
Simon Josefsson 3cdd75d6 2008-10-16T09:26:07 Fixes for netdb.h. * m4/netdb_h.m4: Assume that if netdb.h exists, it works. * lib/netdb.in.h: Fix typo. Reported by Bruno Haible <bruno@clisp.org> * lib/netdb.in.h: Include sys/socket.h for platforms without netdb.h, to get structures like hostent on MinGW. * modules/netdb (Depends-on): Add sys_socket.
Simon Josefsson ceb82aa3 2008-10-15T14:48:59 Add netdb.h replacement module. Currently empty and unused, but that will change soon.