From 2bcd129e228ad937affbf2732c1371e76e3c0f3e Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 6 Aug 2018 12:39:04 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ modules/getopt-posix | 2 +- modules/utime-h | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c7d0999d4d..8d847e276e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2018-08-06 Bruno Haible + + 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 utime-h: Generate header file when module 'posixcheck' is in use. diff --git a/modules/getopt-posix b/modules/getopt-posix index a7825635af..5ee7bfd6cd 100644 --- a/modules/getopt-posix +++ b/modules/getopt-posix @@ -35,7 +35,7 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H) # We need the following in order to create 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' \ diff --git a/modules/utime-h b/modules/utime-h index a60f45a7bc..5cd5317c7d 100644 --- a/modules/utime-h +++ b/modules/utime-h @@ -20,7 +20,7 @@ BUILT_SOURCES += $(UTIME_H) # We need the following in order to create 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' \ -- 2.39.5