diff options
author | Bruno Haible <bruno@clisp.org> | 2017-04-30 03:08:46 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-04-30 19:25:55 +0200 |
commit | e5194dcec6df86600ece92e5ae6a746ce69ffb16 (patch) | |
tree | 1b1a9b4d319318b923df5cc52fb83f0461dc9464 /modules/utime-h | |
parent | 127cc8158810518f7abb27777b649468d91fda8b (diff) | |
download | gnulib-e5194dcec6df86600ece92e5ae6a746ce69ffb16.tar.gz |
utime: New module.
* lib/utime.in.h: Add comment for snippets.
(utime): New declaration.
* lib/utime.c: New file.
* m4/utime.m4: New file.
* m4/utime_h.m4 (gl_UTIME_H): Test for utime declaration.
(gl_UTIME_H_DEFAULTS): Initialize GNULIB_UTIME, HAVE_UTIME,
REPLACE_UTIME.
* modules/utime-h (Depends-on): Add snippets.
(Makefile.am): Substitute GNULIB_UTIME, HAVE_UTIME, REPLACE_UTIME.
Insert snippets.
* modules/utime: New file.
* doc/posix-functions/utime.texi: Mention the new module.
Diffstat (limited to 'modules/utime-h')
-rw-r--r-- | modules/utime-h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/utime-h b/modules/utime-h index 0e02d5b351..a60f45a7bc 100644 --- a/modules/utime-h +++ b/modules/utime-h @@ -7,6 +7,9 @@ m4/utime_h.m4 Depends-on: include_next +snippet/arg-nonnull +snippet/c++defs +snippet/warn-on-use configure.ac: gl_UTIME_H @@ -26,6 +29,12 @@ utime.h: utime.in.h $(top_builddir)/config.status -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''NEXT_UTIME_H''@|$(NEXT_UTIME_H)|g' \ + -e 's/@''GNULIB_UTIME''@/$(GNULIB_UTIME)/g' \ + -e 's|@''HAVE_UTIME''@|$(HAVE_UTIME)|g' \ + -e 's|@''REPLACE_UTIME''@|$(REPLACE_UTIME)|g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ < $(srcdir)/utime.in.h; \ } > $@-t && \ mv $@-t $@ |