warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / sys_types
blob81a11aa4f36b138df403f3d9ddac4f35677eeaa0
1 Description:
2 A <sys/types.h> that conforms better to POSIX.
4 Files:
5 lib/sys_types.in.h
6 m4/sys_types_h.m4
7 m4/off_t.m4
9 Depends-on:
10 include_next
11 ssize_t
13 configure.ac:
14 gl_SYS_TYPES_H
15 AC_PROG_MKDIR_P
17 Makefile.am:
18 BUILT_SOURCES += sys/types.h
20 # We need the following in order to create <sys/types.h> when the system
21 # doesn't have one that works with the given compiler.
22 sys/types.h: sys_types.in.h $(top_builddir)/config.status
23         $(AM_V_at)$(MKDIR_P) sys
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30               -e 's|@''NEXT_SYS_TYPES_H''@|$(NEXT_SYS_TYPES_H)|g' \
31               -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \
32               -e 's|@''WINDOWS_STAT_INODES''@|$(WINDOWS_STAT_INODES)|g' \
33               < $(srcdir)/sys_types.in.h; \
34         } > $@-t && \
35         mv $@-t $@
36 MOSTLYCLEANFILES += sys/types.h sys/types.h-t
38 Include:
39 <sys/types.h>
41 License:
42 LGPLv2+
44 Maintainer:
45 all