annotate modules/inet_ntop @ 14982:734141d3f8bf

inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ. * m4/inet_ntop.m4 (gl_FUNC_INET_NTOP): Set HAVE_INET_NTOP. Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Don't invoke gl_PREREQ_INET_NTOP. Move tests for declaration of inet_ntop here... (gl_PREREQ_INET_NTOP): ... from here. * modules/inet_ntop (configure.ac): Invoke AC_LIBOBJ and gl_PREREQ_INET_NTOP here. (Depends-on): Update condition.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 May 2011 21:42:19 +0200
parents efab6978105e
children c2c292001fc0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Convert internet address from internal to printable, presentable format.
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/inet_ntop.c
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/inet_ntop.m4
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8 Depends-on:
7062
532bc2e00710 Use arpa_inet in inet_?to?.
Simon Josefsson <simon@josefsson.org>
parents: 6929
diff changeset
9 arpa_inet
10018
8406478f0d13 Ensure the system declares inet_ntop, inet_pton when possible.
Bruno Haible <bruno@clisp.org>
parents: 9993
diff changeset
10 extensions
14982
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
11 sys_socket [test $HAVE_INET_NTOP = 0]
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
12 errno [test $HAVE_INET_NTOP = 0]
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
13 netinet_in [test $HAVE_INET_NTOP = 0]
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
13062
fcd6c0f53dc8 Rename gl_INET_NTOP.
Bruno Haible <bruno@clisp.org>
parents: 12225
diff changeset
16 gl_FUNC_INET_NTOP
14982
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
17 if test $HAVE_INET_NTOP = 0; then
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
18 AC_LIBOBJ([inet_ntop])
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
19 gl_PREREQ_INET_NTOP
734141d3f8bf inet_ntop. getaddrinfo: Respect rules for use of AC_LIBOBJ.
Bruno Haible <bruno@clisp.org>
parents: 14683
diff changeset
20 fi
9964
d0caaa0ca4a6 Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.
Simon Josefsson <simon@josefsson.org>
parents: 9102
diff changeset
21 gl_ARPA_INET_MODULE_INDICATOR([inet_ntop])
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 Makefile.am:
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 License:
9102
404dc8725caf Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
26 LGPLv2+
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11941
diff changeset
29 <arpa/inet.h>
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
30
12225
e06ba2ed6c0f Avoid link error for inet_ntop on Solaris.
Simon Josefsson <simon@josefsson.org>
parents: 12008
diff changeset
31 Link:
e06ba2ed6c0f Avoid link error for inet_ntop on Solaris.
Simon Josefsson <simon@josefsson.org>
parents: 12008
diff changeset
32 $(INET_NTOP_LIB)
e06ba2ed6c0f Avoid link error for inet_ntop on Solaris.
Simon Josefsson <simon@josefsson.org>
parents: 12008
diff changeset
33
5825
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 Maintainer:
96441be32be1 New module 'inet_ntop'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 Yoann Vandoorselaere, glibc