Mercurial > gnulib
annotate modules/netinet_in @ 40186:8964917f9574
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Mon, 18 Feb 2019 08:02:49 -0800 |
parents | 5f709022a256 |
children |
rev | line source |
---|---|
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
1 Description: |
8379
d01509bbd3bc
Make <netinet/in.h> self-contained, i.e. allow it to be included without
Bruno Haible <bruno@clisp.org>
parents:
8067
diff
changeset
|
2 A <netinet/in.h> for systems lacking it. |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
3 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
4 Files: |
9256
8995d38a9306
Rename netinet_in_.h to netinet_in.in.h.
Bruno Haible <bruno@clisp.org>
parents:
9102
diff
changeset
|
5 lib/netinet_in.in.h |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
6 m4/netinet_in_h.m4 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
7 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
8 Depends-on: |
8998
442682a45bcd
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
Paul Eggert <eggert@cs.ucla.edu>
parents:
8825
diff
changeset
|
9 include_next |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
10 sys_socket |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
11 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
12 configure.ac: |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
13 gl_HEADER_NETINET_IN |
8067
eed60849841f
* modules/arpa_inet (Makefile.am): Use MKDIR_P to avoid races.
Eric Blake <ebb9@byu.net>
parents:
7421
diff
changeset
|
14 AC_PROG_MKDIR_P |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
15 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
16 Makefile.am: |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
17 BUILT_SOURCES += $(NETINET_IN_H) |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
18 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
19 # We need the following in order to create <netinet/in.h> when the system |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
20 # doesn't have one. |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
21 if GL_GENERATE_NETINET_IN_H |
14527
049942251f65
Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents:
14273
diff
changeset
|
22 netinet/in.h: netinet_in.in.h $(top_builddir)/config.status |
11926
79c91e5cce7a
Use $(MKDIR_P) instead of @MKDIR_P@.
Simon Josefsson <simon@josefsson.org>
parents:
11868
diff
changeset
|
23 $(AM_V_at)$(MKDIR_P) netinet |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10375
diff
changeset
|
24 $(AM_V_GEN)rm -f $@-t $@ && \ |
7421
8bace4b08db5
Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents:
7274
diff
changeset
|
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
14840
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
26 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ |
5f709022a256
Allow multiple gnulib generated include files to be combined.
Bruno Haible <bruno@clisp.org>
parents:
14528
diff
changeset
|
27 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ |
10375
f96e845fc36d
Avoid some "gcc -pedantic" warnings.
Bruno Haible <bruno@clisp.org>
parents:
9256
diff
changeset
|
28 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ |
13761
a19ace3ba849
Avoid line length limitation from HP NonStop system header files.
Bruno Haible <bruno@clisp.org>
parents:
12008
diff
changeset
|
29 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ |
8998
442682a45bcd
* m4/fchdir.m4 (gl_FUNC_FCHDIR): Likewise.
Paul Eggert <eggert@cs.ucla.edu>
parents:
8825
diff
changeset
|
30 -e 's|@''NEXT_NETINET_IN_H''@|$(NEXT_NETINET_IN_H)|g' \ |
8379
d01509bbd3bc
Make <netinet/in.h> self-contained, i.e. allow it to be included without
Bruno Haible <bruno@clisp.org>
parents:
8067
diff
changeset
|
31 -e 's|@''HAVE_NETINET_IN_H''@|$(HAVE_NETINET_IN_H)|g' \ |
9256
8995d38a9306
Rename netinet_in_.h to netinet_in.in.h.
Bruno Haible <bruno@clisp.org>
parents:
9102
diff
changeset
|
32 < $(srcdir)/netinet_in.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
10375
diff
changeset
|
33 } > $@-t && \ |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
34 mv $@-t $@ |
14528
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
35 else |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
36 netinet/in.h: $(top_builddir)/config.status |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
37 rm -f $@ |
662ae53d8d37
Remove leftover generated .h files after config.status changed.
Bruno Haible <bruno@clisp.org>
parents:
14527
diff
changeset
|
38 endif |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
39 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
40 MOSTLYCLEANDIRS += netinet |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
41 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
42 Include: |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
11926
diff
changeset
|
43 <netinet/in.h> |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
44 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
45 License: |
9102
404dc8725caf
Use the synonymous term LGPLv2.
Bruno Haible <bruno@clisp.org>
parents:
8998
diff
changeset
|
46 LGPLv2+ |
7063
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
47 |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
48 Maintainer: |
c5c751b9f184
Add new module netinet_in.
Simon Josefsson <simon@josefsson.org>
parents:
diff
changeset
|
49 Simon Josefsson |