annotate modules/unistd @ 8786:b7c6961fb530

New module 'sleep'.
author Bruno Haible <bruno@clisp.org>
date Tue, 01 May 2007 22:15:01 +0000
parents 51d32a83a7df
children 4a3d91f9b45b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
1 Description:
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
2 A GNU-like <unistd.h>.
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
3
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
4 Files:
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
5 m4/unistd_h.m4
7863
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
6 lib/unistd_.h
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
7
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
8 Depends-on:
7865
ed58a606d898 Add missing dependency.
Bruno Haible <bruno@clisp.org>
parents: 7863
diff changeset
9 absolute-header
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
10 link-warning
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
11
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
12 configure.ac:
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
13 gl_UNISTD_H
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
14
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
15 Makefile.am:
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
16 BUILT_SOURCES += unistd.h
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
17
6689
93d578c7aa44 * lib/c-stack.c: Include unistd.h unconditionally, since we now assume
Paul Eggert <eggert@cs.ucla.edu>
parents: 6687
diff changeset
18 # We need the following in order to create an empty placeholder for
93d578c7aa44 * lib/c-stack.c: Include unistd.h unconditionally, since we now assume
Paul Eggert <eggert@cs.ucla.edu>
parents: 6687
diff changeset
19 # <unistd.h> when the system doesn't have one.
7863
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
20 unistd.h: unistd_.h
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
21 rm -f $@-t $@
7421
8bace4b08db5 Mark generated files as "DO NOT EDIT".
Bruno Haible <bruno@clisp.org>
parents: 6689
diff changeset
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
23 sed -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
24 -e 's|@''ABSOLUTE_UNISTD_H''@|$(ABSOLUTE_UNISTD_H)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
25 -e 's|@''GNULIB_CHOWN''@|$(GNULIB_CHOWN)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
26 -e 's|@''GNULIB_DUP2''@|$(GNULIB_DUP2)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
27 -e 's|@''GNULIB_FCHDIR''@|$(GNULIB_FCHDIR)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
28 -e 's|@''GNULIB_FTRUNCATE''@|$(GNULIB_FTRUNCATE)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
29 -e 's|@''GNULIB_GETCWD''@|$(GNULIB_GETCWD)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
30 -e 's|@''GNULIB_GETLOGIN_R''@|$(GNULIB_GETLOGIN_R)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
31 -e 's|@''GNULIB_READLINK''@|$(GNULIB_READLINK)|g' \
8786
b7c6961fb530 New module 'sleep'.
Bruno Haible <bruno@clisp.org>
parents: 8199
diff changeset
32 -e 's|@''GNULIB_SLEEP''@|$(GNULIB_SLEEP)|g' \
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
33 -e 's|@''HAVE_DUP2''@|$(HAVE_DUP2)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
34 -e 's|@''HAVE_FTRUNCATE''@|$(HAVE_FTRUNCATE)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
35 -e 's|@''HAVE_READLINK''@|$(HAVE_READLINK)|g' \
8786
b7c6961fb530 New module 'sleep'.
Bruno Haible <bruno@clisp.org>
parents: 8199
diff changeset
36 -e 's|@''HAVE_SLEEP''@|$(HAVE_SLEEP)|g' \
8199
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
37 -e 's|@''HAVE_DECL_GETLOGIN_R''@|$(HAVE_DECL_GETLOGIN_R)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
38 -e 's|@''REPLACE_CHOWN''@|$(REPLACE_CHOWN)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
39 -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
51d32a83a7df Move more declarations into <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7865
diff changeset
40 -e 's|@''REPLACE_GETCWD''@|$(REPLACE_GETCWD)|g' \
7863
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
41 < $(srcdir)/unistd_.h; \
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
42 } > $@-t
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
43 mv $@-t $@
cb2590895141 New module 'fchdir'.
Bruno Haible <bruno@clisp.org>
parents: 7421
diff changeset
44 MOSTLYCLEANFILES += unistd.h unistd.h-t
6685
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
45
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
46 Include:
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
47 #include <unistd.h>
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
48
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
49 License:
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
50 LGPL
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
51
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
52 Maintainer:
143f906c9a6a Fix use of unistd.h in getopt through a new unistd module.
Simon Josefsson <simon@josefsson.org>
parents:
diff changeset
53 Simon Josefsson