diff options
Diffstat (limited to 'modules/poll-h')
-rw-r--r-- | modules/poll-h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/poll-h b/modules/poll-h index ccd5fa4a59..ef5bd7535e 100644 --- a/modules/poll-h +++ b/modules/poll-h @@ -8,6 +8,7 @@ m4/sys_socket_h.m4 Depends-on: extensions +gen-header include_next snippet/c++defs snippet/warn-on-use @@ -25,8 +26,8 @@ BUILT_SOURCES += poll.h poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_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_POLL_H''@|$(HAVE_POLL_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ @@ -38,9 +39,8 @@ poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \ -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ - < $(srcdir)/poll.in.h; \ - } > $@-t && \ - mv $@-t $@ + $(srcdir)/poll.in.h > $@-t + $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += poll.h poll.h-t Include: |