Update and improve help for --without-included-regex.
[gnulib.git] / modules / dirent
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
11 link-warning
12
13 configure.ac:
14 gl_DIRENT_H
15
16 Makefile.am:
17 BUILT_SOURCES += $(DIRENT_H)
18
19 # We need the following in order to create <dirent.h> when the system
20 # doesn't have one that works with the given compiler.
21 dirent.h: dirent.in.h
22         rm -f $@-t $@
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
24           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \
27               -e 's|@''GNULIB_DIRFD''@|$(GNULIB_DIRFD)|g' \
28               -e 's|@''GNULIB_SCANDIR''@|$(GNULIB_SCANDIR)|g' \
29               -e 's|@''GNULIB_ALPHASORT''@|$(GNULIB_ALPHASORT)|g' \
30               -e 's|@''HAVE_DECL_DIRFD''@|$(HAVE_DECL_DIRFD)|g' \
31               -e 's|@''HAVE_SCANDIR''@|$(HAVE_SCANDIR)|g' \
32               -e 's|@''HAVE_ALPHASORT''@|$(HAVE_ALPHASORT)|g' \
33               -e 's|@''REPLACE_FCHDIR''@|$(REPLACE_FCHDIR)|g' \
34               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
35               < $(srcdir)/dirent.in.h; \
36         } > $@-t
37         mv $@-t $@
38 MOSTLYCLEANFILES += dirent.h dirent.h-t
39
40 Include:
41 #include <dirent.h>
42
43 License:
44 LGPLv2+
45
46 Maintainer:
47 all