maint: make Include sections of modules consistent
[pspp] / modules / unistd
1 Description:
2 A GNU-like <unistd.h>.
3
4 Files:
5 m4/unistd_h.m4
6 lib/unistd.in.h
7
8 Depends-on:
9 include_next
10 link-warning
11 stddef
12
13 configure.ac:
14 gl_UNISTD_H
15
16 Makefile.am:
17 BUILT_SOURCES += unistd.h
18
19 # We need the following in order to create an empty placeholder for
20 # <unistd.h> when the system doesn't have one.
21 unistd.h: unistd.in.h
22         $(AM_V_GEN)rm -f $@-t $@ && \
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24           sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
25               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \
28               -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
29               -e 's|@''GNULIB_CLOSE''@|$(GNULIB_CLOSE)|g' \
30               -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
31               -e 's|@''GNULIB_DUP3''@|$(GNULIB_DUP3)|g' \
32               -e 's|@''GNULIB_ENVIRON''@|$(GNULIB_ENVIRON)|g' \
33               -e 's|@''GNULIB_EUIDACCESS''@|$(GNULIB_EUIDACCESS)|g' \
34               -e 's|@''GNULIB_FACCESSAT''@|$(GNULIB_FACCESSAT)|g' \
35               -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
36               -e 's|@''GNULIB_FCHOWNAT''@|$(GNULIB_FCHOWNAT)|g' \
37               -e 's|@''GNULIB_FSYNC''@|$(GNULIB_FSYNC)|g' \
38               -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
39               -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
40               -e 's|@''GNULIB_GETDOMAINNAME''@|$(GNULIB_GETDOMAINNAME)|g' \
41               -e 's|@''GNULIB_GETDTABLESIZE''@|$(GNULIB_GETDTABLESIZE)|g' \
42               -e 's|@''GNULIB_GETHOSTNAME''@|$(GNULIB_GETHOSTNAME)|g' \
43               -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
44               -e 's|@''GNULIB_GETPAGESIZE''@|$(GNULIB_GETPAGESIZE)|g' \
45               -e 's|@''GNULIB_GETUSERSHELL''@|$(GNULIB_GETUSERSHELL)|g' \
46               -e 's|@''GNULIB_LCHOWN''@|$(GNULIB_LCHOWN)|g' \
47               -e 's|@''GNULIB_LINK''@|$(GNULIB_LINK)|g' \
48               -e 's|@''GNULIB_LSEEK''@|$(GNULIB_LSEEK)|g' \
49               -e 's|@''GNULIB_PIPE2''@|$(GNULIB_PIPE2)|g' \
50               -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
51               -e 's|@''GNULIB_READLINKAT''@|$(GNULIB_READLINKAT)|g' \
52               -e 's|@''GNULIB_RMDIR''@|$(GNULIB_RMDIR)|g' \
53               -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
54               -e 's|@''GNULIB_SYMLINKAT''@|$(GNULIB_SYMLINKAT)|g' \
55               -e 's|@''GNULIB_UNISTD_H_GETOPT''@|$(GNULIB_UNISTD_H_GETOPT)|g' \
56               -e 's|@''GNULIB_UNISTD_H_SIGPIPE''@|$(GNULIB_UNISTD_H_SIGPIPE)|g' \
57               -e 's|@''GNULIB_UNLINKAT''@|$(GNULIB_UNLINKAT)|g' \
58               -e 's|@''GNULIB_WRITE''@|$(GNULIB_WRITE)|g' \
59               -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
60               -e 's|@''HAVE_DUP3''@|$(HAVE_DUP3)|g' \
61               -e 's|@''HAVE_EUIDACCESS''@|$(HAVE_EUIDACCESS)|g' \
62               -e 's|@''HAVE_FACCESSAT''@|$(HAVE_FACCESSAT)|g' \
63               -e 's|@''HAVE_FCHOWNAT''@|$(HAVE_FCHOWNAT)|g' \
64               -e 's|@''HAVE_FSYNC''@|$(HAVE_FSYNC)|g' \
65               -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
66               -e 's|@''HAVE_GETDOMAINNAME''@|$(HAVE_GETDOMAINNAME)|g' \
67               -e 's|@''HAVE_GETDTABLESIZE''@|$(HAVE_GETDTABLESIZE)|g' \
68               -e 's|@''HAVE_GETHOSTNAME''@|$(HAVE_GETHOSTNAME)|g' \
69               -e 's|@''HAVE_GETPAGESIZE''@|$(HAVE_GETPAGESIZE)|g' \
70               -e 's|@''HAVE_GETUSERSHELL''@|$(HAVE_GETUSERSHELL)|g' \
71               -e 's|@''HAVE_LINK''@|$(HAVE_LINK)|g' \
72               -e 's|@''HAVE_PIPE2''@|$(HAVE_PIPE2)|g' \
73               -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
74               -e 's|@''HAVE_READLINKAT''@|$(HAVE_READLINKAT)|g' \
75               -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
76               -e 's|@''HAVE_SYMLINKAT''@|$(HAVE_SYMLINKAT)|g' \
77               -e 's|@''HAVE_UNLINKAT''@|$(HAVE_UNLINKAT)|g' \
78               -e 's|@''HAVE_DECL_ENVIRON''@|$(HAVE_DECL_ENVIRON)|g' \
79               -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
80               -e 's|@''HAVE_OS_H''@|$(HAVE_OS_H)|g' \
81               -e 's|@''HAVE_SYS_PARAM_H''@|$(HAVE_SYS_PARAM_H)|g' \
82               -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
83               -e 's|@''REPLACE_CLOSE''@|$(REPLACE_CLOSE)|g' \
84               -e 's|@''REPLACE_DUP''@|$(REPLACE_DUP)|g' \
85               -e 's|@''REPLACE_DUP2''@|$(REPLACE_DUP2)|g' \
86               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
87               -e 's|@''REPLACE_FCHOWNAT''@|$(REPLACE_FCHOWNAT)|g' \
88               -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
89               -e 's|@''REPLACE_GETPAGESIZE''@|$(REPLACE_GETPAGESIZE)|g' \
90               -e 's|@''REPLACE_LCHOWN''@|$(REPLACE_LCHOWN)|g' \
91               -e 's|@''REPLACE_LINK''@|$(REPLACE_LINK)|g' \
92               -e 's|@''REPLACE_LSEEK''@|$(REPLACE_LSEEK)|g' \
93               -e 's|@''REPLACE_RMDIR''@|$(REPLACE_RMDIR)|g' \
94               -e 's|@''REPLACE_WRITE''@|$(REPLACE_WRITE)|g' \
95               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|$(UNISTD_H_HAVE_WINSOCK2_H)|g' \
96               -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|$(UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS)|g' \
97               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
98               < $(srcdir)/unistd.in.h; \
99         } > $@-t && \
100         mv $@-t $@
101 MOSTLYCLEANFILES += unistd.h unistd.h-t
102
103 Include:
104 <unistd.h>
105
106 License:
107 LGPLv2+
108
109 Maintainer:
110 all