summaryrefslogtreecommitdiff
path: root/m4/netdb_h.m4
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-10-20 09:53:42 +0200
committerSimon Josefsson <simon@josefsson.org>2008-10-20 09:53:42 +0200
commitdbf8ca54bfdeaef894c8d0912df6e05b4c1a7302 (patch)
tree1f48cd50123021db5d68fbcffe578a4ff1518fb2 /m4/netdb_h.m4
parent226968c1b005dfbc3a4339fb6d7d3592ec279460 (diff)
downloadgnulib-dbf8ca54bfdeaef894c8d0912df6e05b4c1a7302.tar.gz
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.
Diffstat (limited to 'm4/netdb_h.m4')
-rw-r--r--m4/netdb_h.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/netdb_h.m4 b/m4/netdb_h.m4
index 8e8ff4aa72..ecb57b4e66 100644
--- a/m4/netdb_h.m4
+++ b/m4/netdb_h.m4
@@ -28,5 +28,5 @@ AC_DEFUN([gl_NETDB_MODULE_INDICATOR],
AC_DEFUN([gl_NETDB_H_DEFAULTS],
[
- :
+ GNULIB_GETADDRINFO=0; AC_SUBST([GNULIB_GETADDRINFO])
])