pty: Activate the signature wrapper of forkpty.
[gnulib.git] / modules / sys_stat
1 Description:
2 A <sys/stat.h> for systems with missing declarations.
3
4 Files:
5 lib/sys_stat.in.h
6 m4/sys_stat_h.m4
7 m4/unistd_h.m4
8
9 Depends-on:
10 include_next
11 snippet/arg-nonnull
12 snippet/c++defs
13 snippet/warn-on-use
14 sys_types
15 time
16
17 configure.ac:
18 gl_HEADER_SYS_STAT_H
19 AC_PROG_MKDIR_P
20
21 Makefile.am:
22 BUILT_SOURCES += sys/stat.h
23
24 # We need the following in order to create <sys/stat.h> when the system
25 # has one that is incomplete.
26 sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
27         $(AM_V_at)$(MKDIR_P) sys
28         $(AM_V_GEN)rm -f $@-t $@ && \
29         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
30           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
31               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
32               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
33               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
34               -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \
35               -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \
36               -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \
37               -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \
38               -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \
39               -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \
40               -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \
41               -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \
42               -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \
43               -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \
44               -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \
45               -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \
46               -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \
47               -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \
48               -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \
49               -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \
50               -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \
51               -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \
52               -e 's|@''HAVE_LCHMOD''@|$(HAVE_LCHMOD)|g' \
53               -e 's|@''HAVE_LSTAT''@|$(HAVE_LSTAT)|g' \
54               -e 's|@''HAVE_MKDIRAT''@|$(HAVE_MKDIRAT)|g' \
55               -e 's|@''HAVE_MKFIFO''@|$(HAVE_MKFIFO)|g' \
56               -e 's|@''HAVE_MKFIFOAT''@|$(HAVE_MKFIFOAT)|g' \
57               -e 's|@''HAVE_MKNOD''@|$(HAVE_MKNOD)|g' \
58               -e 's|@''HAVE_MKNODAT''@|$(HAVE_MKNODAT)|g' \
59               -e 's|@''HAVE_UTIMENSAT''@|$(HAVE_UTIMENSAT)|g' \
60               -e 's|@''REPLACE_FSTAT''@|$(REPLACE_FSTAT)|g' \
61               -e 's|@''REPLACE_FSTATAT''@|$(REPLACE_FSTATAT)|g' \
62               -e 's|@''REPLACE_FUTIMENS''@|$(REPLACE_FUTIMENS)|g' \
63               -e 's|@''REPLACE_LSTAT''@|$(REPLACE_LSTAT)|g' \
64               -e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
65               -e 's|@''REPLACE_MKFIFO''@|$(REPLACE_MKFIFO)|g' \
66               -e 's|@''REPLACE_MKNOD''@|$(REPLACE_MKNOD)|g' \
67               -e 's|@''REPLACE_STAT''@|$(REPLACE_STAT)|g' \
68               -e 's|@''REPLACE_UTIMENSAT''@|$(REPLACE_UTIMENSAT)|g' \
69               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
70               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
71               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
72               < $(srcdir)/sys_stat.in.h; \
73         } > $@-t && \
74         mv $@-t $@
75 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
76 MOSTLYCLEANDIRS += sys
77
78 Include:
79 <sys/stat.h>
80
81 License:
82 LGPLv2+
83
84 Maintainer:
85 all