Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/arpa_inet @ 12422:f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 11 Dec 2009 01:15:28 +0100 |
parents | 481fcf53f002 |
children | cd64e80f94e4 |
rev | line source |
---|---|
6937 | 1 Description: |
10010
d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
Bruno Haible <bruno@clisp.org>
parents:
10007
diff
changeset
|
2 A GNU-like <arpa/inet.h>. |
6937 | 3 |
4 Files: | |
9964
d0caaa0ca4a6
Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9102
diff
changeset
|
5 lib/arpa_inet.in.h |
6937 | 6 m4/arpa_inet_h.m4 |
7 | |
8 Depends-on: | |
10010
d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
Bruno Haible <bruno@clisp.org>
parents:
10007
diff
changeset
|
9 include_next |
10498
8bc209f25988
Provide the definition of GL_LINK-WARNING.
Bruno Haible <bruno@clisp.org>
parents:
10375
diff
changeset
|
10 link-warning |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
11 arg-nonnull |
6937 | 12 sys_socket |
13 | |
14 configure.ac: | |
15 gl_HEADER_ARPA_INET | |
8072
c31253d5c505
* modules/arpa_inet: Put AC_PROG_MKDIR_P in the configure.ac:
Jim Meyering <jim@meyering.net>
parents:
8067
diff
changeset
|
16 AC_PROG_MKDIR_P |
6937 | 17 |
18 Makefile.am: | |
19 BUILT_SOURCES += $(ARPA_INET_H) | |
20 | |
21 # We need the following in order to create <arpa/inet.h> when the system | |
22 # doesn't have one. | |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
23 arpa/inet.h: arpa_inet.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) |
11926
79c91e5cce7a
Use $(MKDIR_P) instead of @MKDIR_P@.
Simon Josefsson <simon@josefsson.org>
parents:
11868
diff
changeset
|
24 $(AM_V_at)$(MKDIR_P) arpa |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11450
diff
changeset
|
25 $(AM_V_GEN)rm -f $@-t $@ && \ |
7421
8bace4b08db5
Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents:
7274
diff
changeset
|
26 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
10375
f96e845fc36d
Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents:
10010
diff
changeset
|
27 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
f96e845fc36d
Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents:
10010
diff
changeset
|
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
10010
d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
Bruno Haible <bruno@clisp.org>
parents:
10007
diff
changeset
|
29 -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ |
d26ac8a528f7
Enable gnulib's <arpa/inet.h> replacement also when inet_ntop or inet_pton need to be declared.
Bruno Haible <bruno@clisp.org>
parents:
10007
diff
changeset
|
30 -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ |
9964
d0caaa0ca4a6
Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9102
diff
changeset
|
31 -e 's|@''GNULIB_INET_NTOP''@|$(GNULIB_INET_NTOP)|g' \ |
d0caaa0ca4a6
Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9102
diff
changeset
|
32 -e 's|@''GNULIB_INET_PTON''@|$(GNULIB_INET_PTON)|g' \ |
10007
bef830fad24f
Make arpa/inet module build under MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9964
diff
changeset
|
33 -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ |
bef830fad24f
Make arpa/inet module build under MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9964
diff
changeset
|
34 -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ |
10498
8bc209f25988
Provide the definition of GL_LINK-WARNING.
Bruno Haible <bruno@clisp.org>
parents:
10375
diff
changeset
|
35 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \ |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
36 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
9964
d0caaa0ca4a6
Add inet_ntop and inet_pton declarations to arpa/inet.h, for MinGW.
Simon Josefsson <simon@josefsson.org>
parents:
9102
diff
changeset
|
37 < $(srcdir)/arpa_inet.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11450
diff
changeset
|
38 } > $@-t && \ |
6937 | 39 mv $@-t $@ |
40 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t | |
41 MOSTLYCLEANDIRS += arpa | |
42 | |
43 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
11926
diff
changeset
|
44 <arpa/inet.h> |
6937 | 45 |
46 License: | |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
8072
diff
changeset
|
47 LGPLv2+ |
6937 | 48 |
49 Maintainer: | |
50 Simon Josefsson |