summaryrefslogtreecommitdiff
path: root/modules/fnmatch-h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fnmatch-h')
-rw-r--r--modules/fnmatch-h10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/fnmatch-h b/modules/fnmatch-h
index 260bbd5750..1e4f55c47d 100644
--- a/modules/fnmatch-h
+++ b/modules/fnmatch-h
@@ -7,6 +7,7 @@ m4/fnmatch_h.m4
Depends-on:
extensions
+gen-header
include_next
snippet/arg-nonnull
snippet/c++defs
@@ -26,8 +27,8 @@ if GL_GENERATE_FNMATCH_H
fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN)
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%'
- $(AM_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
- sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
+ $(AM_V_at)$(SED_HEADER_STDOUT) \
+ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -39,9 +40,8 @@ fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL
-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)/fnmatch.in.h; \
- } > $@-t && \
- mv $@-t $@
+ $(srcdir)/fnmatch.in.h > $@-t
+ $(AM_V_at)mv $@-t $@
else
fnmatch.h: $(top_builddir)/config.status
rm -f $@