Mercurial > hg > octave-lojdl > gnulib-hg
annotate modules/dirent @ 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 |
---|---|
10659 | 1 Description: |
2 A GNU-like <dirent.h>. | |
3 | |
4 Files: | |
5 lib/dirent.in.h | |
6 m4/dirent_h.m4 | |
7 m4/unistd_h.m4 | |
8 | |
9 Depends-on: | |
10 include_next | |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
10659
diff
changeset
|
11 link-warning |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
12 arg-nonnull |
10659 | 13 |
14 configure.ac: | |
15 gl_DIRENT_H | |
16 | |
17 Makefile.am: | |
18 BUILT_SOURCES += $(DIRENT_H) | |
19 | |
20 # We need the following in order to create <dirent.h> when the system | |
21 # doesn't have one that works with the given compiler. | |
12422
f7842310a565
New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents:
12410
diff
changeset
|
22 dirent.h: dirent.in.h $(LINK_WARNING_H) $(ARG_NONNULL_H) |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11039
diff
changeset
|
23 $(AM_V_GEN)rm -f $@-t $@ && \ |
10659 | 24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ |
25 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ | |
26 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ | |
27 -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ | |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
10659
diff
changeset
|
28 -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \ |
11934
80567a8f98f8
fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents:
11868
diff
changeset
|
29 -e 's|@''GNULIB_FDOPENDIR''@|$(GNULIB_FDOPENDIR)|g' \ |
11038 | 30 -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \ |
11039 | 31 -e 's|@''GNULIB_ALPHASORT''@|$(GNULIB_ALPHASORT)|g' \ |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
10659
diff
changeset
|
32 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \ |
11934
80567a8f98f8
fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents:
11868
diff
changeset
|
33 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \ |
11038 | 34 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \ |
11039 | 35 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \ |
11992
a1e0b2efc812
fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents:
11934
diff
changeset
|
36 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \ |
12127 | 37 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \ |
11992
a1e0b2efc812
fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents:
11934
diff
changeset
|
38 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \ |
10663
2b0380d48ff6
Move the dirfd() declaration to <dirent.h>.
Bruno Haible <bruno@clisp.org>
parents:
10659
diff
changeset
|
39 -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
|
40 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ |
10659 | 41 < $(srcdir)/dirent.in.h; \ |
11868
67c2b22aff08
annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents:
11039
diff
changeset
|
42 } > $@-t && \ |
10659 | 43 mv $@-t $@ |
44 MOSTLYCLEANFILES += dirent.h dirent.h-t | |
45 | |
46 Include: | |
12008
18ea6ab4e81d
maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents:
11992
diff
changeset
|
47 <dirent.h> |
10659 | 48 |
49 License: | |
50 LGPLv2+ | |
51 | |
52 Maintainer: | |
53 all |