annotate modules/dirent @ 14527:049942251f65

Ensure to rebuild generated .h files when config.status has changed. * modules/arpa_inet (Makefile.am): Add dependency from .h file to config.status. * modules/ctype (Makefile.am): Likewise. * modules/dirent (Makefile.am): Likewise. * modules/errno (Makefile.am): Likewise. * modules/fcntl-h (Makefile.am): Likewise. * modules/float (Makefile.am): Likewise. * modules/getopt-posix (Makefile.am): Likewise. * modules/glob (Makefile.am): Likewise. * modules/iconv-h (Makefile.am): Likewise. * modules/inttypes (Makefile.am): Likewise. * modules/langinfo (Makefile.am): Likewise. * modules/locale (Makefile.am): Likewise. * modules/math (Makefile.am): Likewise. * modules/netdb (Makefile.am): Likewise. * modules/netinet_in (Makefile.am): Likewise. * modules/poll-h (Makefile.am): Likewise. * modules/pthread (Makefile.am): Likewise. * modules/pty (Makefile.am): Likewise. * modules/sched (Makefile.am): Likewise. * modules/search (Makefile.am): Likewise. * modules/selinux-h (Makefile.am): Likewise. * modules/signal (Makefile.am): Likewise. * modules/spawn (Makefile.am): Likewise. * modules/stdarg (Makefile.am): Likewise. * modules/stdbool (Makefile.am): Likewise. * modules/stddef (Makefile.am): Likewise. * modules/stdint (Makefile.am): Likewise. * modules/stdio (Makefile.am): Likewise. * modules/stdlib (Makefile.am): Likewise. * modules/string (Makefile.am): Likewise. * modules/strings (Makefile.am): Likewise. * modules/sys_file (Makefile.am): Likewise. * modules/sys_ioctl (Makefile.am): Likewise. * modules/sys_select (Makefile.am): Likewise. * modules/sys_socket (Makefile.am): Likewise. * modules/sys_stat (Makefile.am): Likewise. * modules/sys_time (Makefile.am): Likewise. * modules/sys_times (Makefile.am): Likewise. * modules/sys_utsname (Makefile.am): Likewise. * modules/sys_wait (Makefile.am): Likewise. * modules/sysexits (Makefile.am): Likewise. * modules/termios (Makefile.am): Likewise. * modules/time (Makefile.am): Likewise. * modules/unistd (Makefile.am): Likewise. * modules/wchar (Makefile.am): Likewise. * modules/wctype-h (Makefile.am): Likewise. Reported by Karl Berry, Eric Blake, and Ralf Wildenhues.
author Bruno Haible <bruno@clisp.org>
date Sun, 03 Apr 2011 23:07:25 +0200
parents 8f6d3e05c7e2
children 6758fa38915e 5f709022a256
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A GNU-like <dirent.h>.
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/dirent.in.h
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/dirent_h.m4
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/unistd_h.m4
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12536
diff changeset
10 arg-nonnull
12930
8de7d7c428e7 dirent: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
11 c++defs
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 include_next
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12536
diff changeset
13 warn-on-use
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_DIRENT_H
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 Makefile.am:
12536
cd64e80f94e4 link-warning: always build headers with link warnings
Eric Blake <ebb9@byu.net>
parents: 12422
diff changeset
19 BUILT_SOURCES += dirent.h
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # We need the following in order to create <dirent.h> when the system
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 # doesn't have one that works with the given compiler.
14527
049942251f65 Ensure to rebuild generated .h files when config.status has changed.
Bruno Haible <bruno@clisp.org>
parents: 14273
diff changeset
23 dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
11868
67c2b22aff08 annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
Jim Meyering <meyering@redhat.com>
parents: 11039
diff changeset
24 $(AM_V_GEN)rm -f $@-t $@ && \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 -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: 13508
diff changeset
28 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 -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
30 -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
11934
80567a8f98f8 fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
31 -e 's|@''GNULIB_FDOPENDIR''@|$(GNULIB_FDOPENDIR)|g' \
11038
6c37790abb93 New module 'scandir'.
Bruno Haible <bruno@clisp.org>
parents: 10663
diff changeset
32 -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
11039
8842f30244d1 New module 'alphasort'.
Bruno Haible <bruno@clisp.org>
parents: 11038
diff changeset
33 -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
34 -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
13095
c47c56095752 fdopendir: work around FreeBSD bug
Eric Blake <eblake@redhat.com>
parents: 12930
diff changeset
35 -e 's|@''HAVE_DECL_FDOPENDIR''@|$(HAVE_DECL_FDOPENDIR)|g' \
11934
80567a8f98f8 fdopendir: split into its own module
Eric Blake <ebb9@byu.net>
parents: 11868
diff changeset
36 -e 's|@''HAVE_FDOPENDIR''@|$(HAVE_FDOPENDIR)|g' \
11038
6c37790abb93 New module 'scandir'.
Bruno Haible <bruno@clisp.org>
parents: 10663
diff changeset
37 -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
11039
8842f30244d1 New module 'alphasort'.
Bruno Haible <bruno@clisp.org>
parents: 11038
diff changeset
38 -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
11992
a1e0b2efc812 fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents: 11934
diff changeset
39 -e 's|@''REPLACE_CLOSEDIR''@|$(REPLACE_CLOSEDIR)|g' \
13508
abc6ebd285a3 dirfd: Avoid link error on AIX 7.1.
Bruno Haible <bruno@clisp.org>
parents: 13095
diff changeset
40 -e 's|@''REPLACE_DIRFD''@|$(REPLACE_DIRFD)|g' \
12127
bda9467a9d66 fdopendir: fix GNU/Hurd bug
Eric Blake <ebb9@byu.net>
parents: 12008
diff changeset
41 -e 's|@''REPLACE_FDOPENDIR''@|$(REPLACE_FDOPENDIR)|g' \
11992
a1e0b2efc812 fchdir: improve use of replacement functions
Eric Blake <ebb9@byu.net>
parents: 11934
diff changeset
42 -e 's|@''REPLACE_OPENDIR''@|$(REPLACE_OPENDIR)|g' \
12930
8de7d7c428e7 dirent: Avoid #define replacements in C++ mode.
Bruno Haible <bruno@clisp.org>
parents: 12766
diff changeset
43 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
12422
f7842310a565 New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
Bruno Haible <bruno@clisp.org>
parents: 12410
diff changeset
44 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
12766
2c14f1e449e5 warn-on-use: use instead of link-warning
Eric Blake <ebb9@byu.net>
parents: 12536
diff changeset
45 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 < $(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
47 } > $@-t && \
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48 mv $@-t $@
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 MOSTLYCLEANFILES += dirent.h dirent.h-t
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
51 Include:
12008
18ea6ab4e81d maint: make Include sections of modules consistent
Eric Blake <ebb9@byu.net>
parents: 11992
diff changeset
52 <dirent.h>
10659
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
53
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
54 License:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
55 LGPLv2+
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
56
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
57 Maintainer:
fb8bcb95d71a New module 'dirent'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
58 all