copy-acl: ignore ENOTSUP on HP-UX
[gnulib.git] / modules / sys_time
1 Description:
2 A <sys/time.h> that conforms better to POSIX.
3
4 Files:
5 lib/sys_time.in.h
6 m4/sys_time_h.m4
7
8 Depends-on:
9 include_next
10 arg-nonnull
11 c++defs
12 warn-on-use
13
14 configure.ac:
15 gl_HEADER_SYS_TIME_H
16 AC_PROG_MKDIR_P
17
18 Makefile.am:
19 BUILT_SOURCES += sys/time.h
20
21 # We need the following in order to create <sys/time.h> when the system
22 # doesn't have one that works with the given compiler.
23 sys/time.h: sys_time.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
24         $(AM_V_at)$(MKDIR_P) sys
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27           sed -e 's/@''HAVE_SYS_TIME_H''@/$(HAVE_SYS_TIME_H)/g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \
31               -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \
32               -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \
33               -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \
34               -e 's/@''REPLACE_GETTIMEOFDAY''@/$(REPLACE_GETTIMEOFDAY)/g' \
35               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
36               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
37               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
38               < $(srcdir)/sys_time.in.h; \
39         } > $@-t && \
40         mv $@-t $@
41 MOSTLYCLEANFILES += sys/time.h sys/time.h-t
42
43 Include:
44 <sys/time.h>
45
46 License:
47 LGPLv2+
48
49 Maintainer:
50 all