changeset 39769:40762ae92d3c

getopt-posix, utime-h: Ensure the .h file gets regenerated when needed. * modules/getopt-posix (Makefile.am): Add Makefile dependency for getopt.h. * modules/utime-h (Makefile.am): Add Makefile dependency for utime.h.
author Bruno Haible <bruno@clisp.org>
date Mon, 06 Aug 2018 12:39:04 +0200
parents d734cfac6fc0
children 2b0180199742
files ChangeLog modules/getopt-posix modules/utime-h
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 06 00:18:17 2018 +0200
+++ b/ChangeLog	Mon Aug 06 12:39:04 2018 +0200
@@ -1,3 +1,10 @@
+2018-08-06  Bruno Haible  <bruno@clisp.org>
+
+	getopt-posix, utime-h: Ensure the .h file gets regenerated when needed.
+	* modules/getopt-posix (Makefile.am): Add Makefile dependency for
+	getopt.h.
+	* modules/utime-h (Makefile.am): Add Makefile dependency for utime.h.
+
 2018-08-05  Bruno Haible  <bruno@clisp.org>
 
 	utime-h: Generate header file when module 'posixcheck' is in use.
--- a/modules/getopt-posix	Mon Aug 06 00:18:17 2018 +0200
+++ b/modules/getopt-posix	Mon Aug 06 12:39:04 2018 +0200
@@ -35,7 +35,7 @@
 
 # We need the following in order to create <getopt.h> when the system
 # doesn't have one that works with the given compiler.
-getopt.h: getopt.in.h $(top_builddir)/config.status
+getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
 	$(AM_V_GEN)rm -f $@-t $@ && \
 	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
 	  sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
--- a/modules/utime-h	Mon Aug 06 00:18:17 2018 +0200
+++ b/modules/utime-h	Mon Aug 06 12:39:04 2018 +0200
@@ -20,7 +20,7 @@
 # We need the following in order to create <utime.h> when the system
 # doesn't have one that works with the given compiler.
 if GL_GENERATE_UTIME_H
-utime.h: utime.in.h $(top_builddir)/config.status
+utime.h: utime.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
 	$(AM_V_GEN)rm -f $@-t $@ && \
 	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
 	  sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \