Mercurial > hg > octave-kai > gnulib-hg
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 |
rev | line source |
---|---|
5825 | 1 Description: |
2 Convert internet address from internal to printable, presentable format. | |
3 | |
4 Files: | |
5 lib/inet_ntop.c | |
6 m4/inet_ntop.m4 | |
7 | |
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 | 14 |
15 configure.ac: | |
13062 | 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 | 22 |
23 Makefile.am: | |
24 | |
25 License: | |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
7497
diff
changeset
|
26 LGPLv2+ |
5825 | 27 |
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 | 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 | 34 Maintainer: |
35 Yoann Vandoorselaere, glibc |