From cb325ea750afa609a7e82fca0bb87953f7ce0665 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 23 Dec 2021 16:45:16 -0800 Subject: [PATCH 4/4] maint: avoid empty lines in recipes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AIX 7.2 ‘make’ complains about recipe lines that are empty after macro expansion, and I suppose there’s a good chance some non-POSIX ‘make’ would prohibit them. Rework macros so that we can avoid them. * gnulib-tool (func_emit_lib_Makefile_am): Support @!NMD@ too. * modules/sed-header (@gl_V_at): New macro. * modules/alloca-opt, modules/argz, modules/assert-h: * modules/byteswap, modules/configmake, modules/ctype: * modules/dirent, modules/errno, modules/execinfo, modules/fcntl-h: * modules/float, modules/fnmatch-h, modules/getopt-posix: * modules/glob-h, modules/iconv-h, modules/ieee754-h: * modules/inttypes-incomplete, modules/langinfo: * modules/libtextstyle-optional, modules/limits-h, modules/locale: * modules/malloc-h, modules/math, modules/monetary, modules/netdb: * modules/openmp-init, modules/poll-h, modules/posix-shell: * modules/pthread-h, modules/pty, modules/sched, modules/search: * modules/signal-h, modules/sigsegv, modules/snippet/link-warning: * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool: * modules/stddef, modules/stdint, modules/stdio, modules/stdlib: * modules/stdnoreturn, modules/string, modules/strings: * modules/sysexits, modules/termios, modules/threads-h: * modules/time, modules/uchar, modules/unicase/base: * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base: * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base: * modules/unistd, modules/unistdio/base, modules/unistr/base: * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base: * modules/utime-h, modules/wchar, modules/wctype-h: Use it. --- ChangeLog | 30 ++++++++++++++++++++++++++++++ gnulib-tool | 6 +++--- modules/alloca-opt | 5 ++--- modules/argz | 5 ++--- modules/assert-h | 5 ++--- modules/byteswap | 5 ++--- modules/configmake | 6 +++--- modules/ctype | 5 ++--- modules/dirent | 5 ++--- modules/errno | 5 ++--- modules/execinfo | 5 ++--- modules/fcntl-h | 5 ++--- modules/float | 5 ++--- modules/fnmatch-h | 5 ++--- modules/getopt-posix | 5 ++--- modules/glob-h | 5 ++--- modules/iconv-h | 5 ++--- modules/ieee754-h | 5 ++--- modules/inttypes-incomplete | 5 ++--- modules/langinfo | 5 ++--- modules/libtextstyle-optional | 5 ++--- modules/limits-h | 5 ++--- modules/locale | 5 ++--- modules/malloc-h | 5 ++--- modules/math | 5 ++--- modules/monetary | 5 ++--- modules/netdb | 5 ++--- modules/openmp-init | 5 ++--- modules/poll-h | 5 ++--- modules/posix-shell | 6 +++--- modules/pthread-h | 5 ++--- modules/pty | 5 ++--- modules/sched | 5 ++--- modules/search | 5 ++--- modules/sed-header | 5 +++++ modules/signal-h | 5 ++--- modules/sigsegv | 5 ++--- modules/snippet/link-warning | 6 +++--- modules/spawn | 5 ++--- modules/stdalign | 5 ++--- modules/stdarg | 5 ++--- modules/stdbool | 5 ++--- modules/stddef | 5 ++--- modules/stdint | 5 ++--- modules/stdio | 5 ++--- modules/stdlib | 5 ++--- modules/stdnoreturn | 5 ++--- modules/string | 5 ++--- modules/strings | 5 ++--- modules/sysexits | 5 ++--- modules/termios | 5 ++--- modules/threads-h | 5 ++--- modules/time | 5 ++--- modules/uchar | 5 ++--- modules/unicase/base | 5 ++--- modules/uniconv/base | 5 ++--- modules/unictype/base | 5 ++--- modules/unigbrk/base | 5 ++--- modules/unilbrk/base | 5 ++--- modules/uniname/base | 5 ++--- modules/uninorm/base | 5 ++--- modules/unistd | 5 ++--- modules/unistdio/base | 5 ++--- modules/unistr/base | 5 ++--- modules/unitypes | 5 ++--- modules/uniwbrk/base | 5 ++--- modules/uniwidth/base | 5 ++--- modules/utime-h | 5 ++--- modules/wchar | 5 ++--- modules/wctype-h | 5 ++--- 70 files changed, 175 insertions(+), 204 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1bb2735ef..4574dc816 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,35 @@ 2021-12-23 Paul Eggert + maint: avoid empty lines in recipes + AIX 7.2 ‘make’ complains about recipe lines that are empty after + macro expansion, and I suppose there’s a good chance some + non-POSIX ‘make’ would prohibit them. Rework macros so + that we can avoid them. + * gnulib-tool (func_emit_lib_Makefile_am): Support @!NMD@ too. + * modules/sed-header (@gl_V_at): New macro. + * modules/alloca-opt, modules/argz, modules/assert-h: + * modules/byteswap, modules/configmake, modules/ctype: + * modules/dirent, modules/errno, modules/execinfo, modules/fcntl-h: + * modules/float, modules/fnmatch-h, modules/getopt-posix: + * modules/glob-h, modules/iconv-h, modules/ieee754-h: + * modules/inttypes-incomplete, modules/langinfo: + * modules/libtextstyle-optional, modules/limits-h, modules/locale: + * modules/malloc-h, modules/math, modules/monetary, modules/netdb: + * modules/openmp-init, modules/poll-h, modules/posix-shell: + * modules/pthread-h, modules/pty, modules/sched, modules/search: + * modules/signal-h, modules/sigsegv, modules/snippet/link-warning: + * modules/spawn, modules/stdalign, modules/stdarg, modules/stdbool: + * modules/stddef, modules/stdint, modules/stdio, modules/stdlib: + * modules/stdnoreturn, modules/string, modules/strings: + * modules/sysexits, modules/termios, modules/threads-h: + * modules/time, modules/uchar, modules/unicase/base: + * modules/uniconv/base, modules/unictype/base, modules/unigbrk/base: + * modules/unilbrk/base, modules/uniname/base, modules/uninorm/base: + * modules/unistd, modules/unistdio/base, modules/unistr/base: + * modules/unitypes, modules/uniwbrk/base, modules/uniwidth/base: + * modules/utime-h, modules/wchar, modules/wctype-h: + Use it. + maint: tight-scope-mk need not be read-only * top/maint.mk (tight-scope.mk): Don’t bother to make tight-scope.mk read-only either. Put a DO NOT EDIT line diff --git a/gnulib-tool b/gnulib-tool index 2870c2984..0d4f246d8 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -3729,9 +3729,9 @@ func_emit_lib_Makefile_am () # Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations. # The logic is similar to how we define gl_source_base_prefix. if $automake_subdir; then - sed_eliminate_NMD='s/@NMD@//' + sed_eliminate_NMD='s/@NMD@//;/@!NMD@/d' else - sed_eliminate_NMD='/@NMD@/d' + sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//' fi if $for_test; then # When creating a package for testing: Attempt to provoke failures, @@ -4109,7 +4109,7 @@ func_emit_tests_Makefile_am () fi # Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations. # The logic is similar to how we define gl_source_base_prefix. - sed_eliminate_NMD='/@NMD@/d' + sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//' if $for_test; then # When creating a package for testing: Attempt to provoke failures, # especially link errors, already during "make" rather than during diff --git a/modules/alloca-opt b/modules/alloca-opt index b29d59d67..0c13457dc 100644 --- a/modules/alloca-opt +++ b/modules/alloca-opt @@ -22,9 +22,8 @@ BUILT_SOURCES += $(ALLOCA_H) # doesn't have one that works with the given compiler. if GL_GENERATE_ALLOCA_H alloca.h: alloca.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \ $(srcdir)/alloca.in.h > $@-t $(AM_V_at)mv $@-t $@ diff --git a/modules/argz b/modules/argz index 396b48f13..f5af6d8b9 100644 --- a/modules/argz +++ b/modules/argz @@ -30,9 +30,8 @@ BUILT_SOURCES += $(ARGZ_H) # doesn't have one that works with the given compiler. if GL_GENERATE_ARGZ_H argz.h: argz.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h $(AM_V_at)mv $@-t $@ else argz.h: $(top_builddir)/config.status diff --git a/modules/assert-h b/modules/assert-h index c2ff5ebdc..8df529f3f 100644 --- a/modules/assert-h +++ b/modules/assert-h @@ -22,9 +22,8 @@ BUILT_SOURCES += $(ASSERT_H) # doesn't have one that works with the given compiler. if GL_GENERATE_ASSERT_H assert.h: assert.in.h verify.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at){ $(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at){ $(SED_HEADER_STDOUT) \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ diff --git a/modules/byteswap b/modules/byteswap index f22fe3f99..cfba807fa 100644 --- a/modules/byteswap +++ b/modules/byteswap @@ -20,9 +20,8 @@ BUILT_SOURCES += $(BYTESWAP_H) # doesn't have one. if GL_GENERATE_BYTESWAP_H byteswap.h: byteswap.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h $(AM_V_at)mv $@-t $@ else byteswap.h: $(top_builddir)/config.status diff --git a/modules/configmake b/modules/configmake index 398b63525..6b103cc0f 100644 --- a/modules/configmake +++ b/modules/configmake @@ -5,6 +5,7 @@ Files: m4/configmake.m4 Depends-on: +sed-header configure.ac: gl_CONFIGMAKE_PREP @@ -16,9 +17,8 @@ Makefile.am: # The Automake-defined pkg* macros are appended, in the order # listed in the Automake 1.10a+ documentation. configmake.h: Makefile - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ echo '#if HAVE_WINSOCK2_H'; \ echo '# include /* avoid mingw pollution on DATADIR */'; \ echo '#endif'; \ diff --git a/modules/ctype b/modules/ctype index 4090e1e51..36015f8b3 100644 --- a/modules/ctype +++ b/modules/ctype @@ -23,9 +23,8 @@ BUILT_SOURCES += ctype.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. ctype.h: ctype.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/dirent b/modules/dirent index 1b96c73c9..644b9ee0d 100644 --- a/modules/dirent +++ b/modules/dirent @@ -25,9 +25,8 @@ BUILT_SOURCES += dirent.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. dirent.h: dirent.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/errno b/modules/errno index af5264d0c..f7e76ae70 100644 --- a/modules/errno +++ b/modules/errno @@ -21,9 +21,8 @@ BUILT_SOURCES += $(ERRNO_H) # doesn't have one that is POSIX compliant. if GL_GENERATE_ERRNO_H errno.h: errno.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/execinfo b/modules/execinfo index 7de0be74f..a22c20c8c 100644 --- a/modules/execinfo +++ b/modules/execinfo @@ -25,9 +25,8 @@ BUILT_SOURCES += $(EXECINFO_H) # doesn't have one that works. if GL_GENERATE_EXECINFO_H execinfo.h: execinfo.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h $(AM_V_at)mv $@-t $@ else execinfo.h: $(top_builddir)/config.status diff --git a/modules/fcntl-h b/modules/fcntl-h index 3dbc1010b..3046fd5b4 100644 --- a/modules/fcntl-h +++ b/modules/fcntl-h @@ -28,9 +28,8 @@ BUILT_SOURCES += fcntl.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. fcntl.h: fcntl.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/float b/modules/float index e9b35701f..41e905c42 100644 --- a/modules/float +++ b/modules/float @@ -29,9 +29,8 @@ BUILT_SOURCES += $(FLOAT_H) # doesn't have one that works with the given compiler. if GL_GENERATE_FLOAT_H float.h: float.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/fnmatch-h b/modules/fnmatch-h index 305f5fe85..a42b0744b 100644 --- a/modules/fnmatch-h +++ b/modules/fnmatch-h @@ -25,9 +25,8 @@ BUILT_SOURCES += $(FNMATCH_H) # We need the following in order to create . 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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_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' \ diff --git a/modules/getopt-posix b/modules/getopt-posix index c3b3d831b..b0f59131c 100644 --- a/modules/getopt-posix +++ b/modules/getopt-posix @@ -42,9 +42,8 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H) # doesn't have one that works with the given compiler. if GL_GENERATE_GETOPT_H getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/glob-h b/modules/glob-h index 2663c6d0a..c30a3094f 100644 --- a/modules/glob-h +++ b/modules/glob-h @@ -29,9 +29,8 @@ BUILT_SOURCES += $(GLOB_H) # We need the following in order to create . if GL_GENERATE_GLOB_H glob.h: glob.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/iconv-h b/modules/iconv-h index 3720c4cc0..998a2ad6f 100644 --- a/modules/iconv-h +++ b/modules/iconv-h @@ -25,9 +25,8 @@ BUILT_SOURCES += $(ICONV_H) # doesn't have one that works with the given compiler. if GL_GENERATE_ICONV_H iconv.h: iconv.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/ieee754-h b/modules/ieee754-h index 9b672fc47..3b7a8bca8 100644 --- a/modules/ieee754-h +++ b/modules/ieee754-h @@ -20,9 +20,8 @@ BUILT_SOURCES += $(IEEE754_H) # doesn't have one that works with the given compiler. if GL_GENERATE_IEEE754_H ieee754.h: ieee754.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \ $(srcdir)/ieee754.in.h > $@-t $(AM_V_at)mv $@-t $@ diff --git a/modules/inttypes-incomplete b/modules/inttypes-incomplete index ddfecb5f5..264ab8308 100644 --- a/modules/inttypes-incomplete +++ b/modules/inttypes-incomplete @@ -25,9 +25,8 @@ BUILT_SOURCES += inttypes.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/langinfo b/modules/langinfo index 1fce5ce00..b90e12754 100644 --- a/modules/langinfo +++ b/modules/langinfo @@ -23,9 +23,8 @@ BUILT_SOURCES += langinfo.h # We need the following in order to create an empty placeholder for # when the system doesn't have one. langinfo.h: langinfo.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/libtextstyle-optional b/modules/libtextstyle-optional index c1ae8a0ed..b37df8e1d 100644 --- a/modules/libtextstyle-optional +++ b/modules/libtextstyle-optional @@ -29,9 +29,8 @@ BUILT_SOURCES += $(TEXTSTYLE_H) # when the system doesn't have one. if GL_GENERATE_TEXTSTYLE_H textstyle.h: textstyle.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h $(AM_V_at)mv $@-t $@ else textstyle.h: $(top_builddir)/config.status diff --git a/modules/limits-h b/modules/limits-h index eae031a92..27bdd6584 100644 --- a/modules/limits-h +++ b/modules/limits-h @@ -21,9 +21,8 @@ BUILT_SOURCES += $(LIMITS_H) # doesn't have one that is compatible with GNU. if GL_GENERATE_LIMITS_H limits.h: limits.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/locale b/modules/locale index f1d577c83..f77e43648 100644 --- a/modules/locale +++ b/modules/locale @@ -25,9 +25,8 @@ BUILT_SOURCES += locale.h # We need the following in order to create when the system # doesn't have one that provides all definitions. locale.h: locale.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/malloc-h b/modules/malloc-h index 48ddf35d5..dfd75c6ec 100644 --- a/modules/malloc-h +++ b/modules/malloc-h @@ -21,9 +21,8 @@ BUILT_SOURCES += malloc.h # We need the following in order to create when we add workarounds. malloc.h: malloc.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/math b/modules/math index c94f39d62..3faf5ec9f 100644 --- a/modules/math +++ b/modules/math @@ -27,9 +27,8 @@ lib_SOURCES += math.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. math.h: math.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/monetary b/modules/monetary index 807859d67..8c024ba14 100644 --- a/modules/monetary +++ b/modules/monetary @@ -25,9 +25,8 @@ BUILT_SOURCES += $(MONETARY_H) # doesn't have one that works with the given compiler. if GL_GENERATE_MONETARY_H monetary.h: monetary.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/netdb b/modules/netdb index ddfce7b5a..ec3e1674f 100644 --- a/modules/netdb +++ b/modules/netdb @@ -24,9 +24,8 @@ BUILT_SOURCES += netdb.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. netdb.h: netdb.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/openmp-init b/modules/openmp-init index c9a2c027c..ed89aff9f 100644 --- a/modules/openmp-init +++ b/modules/openmp-init @@ -23,9 +23,8 @@ BUILT_SOURCES += omp.h # doesn't have one that works with the given compiler. omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/poll-h b/modules/poll-h index 31f4fdf2b..166ba2c52 100644 --- a/modules/poll-h +++ b/modules/poll-h @@ -24,9 +24,8 @@ BUILT_SOURCES += poll.h # We need the following in order to create when the system # doesn't have one. 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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_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' \ diff --git a/modules/posix-shell b/modules/posix-shell index 59fce0e4c..9f5801ec6 100644 --- a/modules/posix-shell +++ b/modules/posix-shell @@ -5,6 +5,7 @@ Files: m4/posix-shell.m4 Depends-on: +sed-header configure.ac: gl_POSIX_SHELL @@ -13,9 +14,8 @@ AC_PROG_MKDIR_P Makefile.am: ##Sample usage of posix-shell module: #script: script.in -# $(AM_V_GEN) -#@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' -# $(AM_V_at)sed \ +#@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' +# $(gl_V_at)sed \ # -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \ # -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \ # -e $(srcdir)/$@.in > $@-t diff --git a/modules/pthread-h b/modules/pthread-h index 7fff7e60f..4ecb02c17 100644 --- a/modules/pthread-h +++ b/modules/pthread-h @@ -31,9 +31,8 @@ BUILT_SOURCES += pthread.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. pthread.h: pthread.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/pty b/modules/pty index 0ec3700bc..c2d5a75c1 100644 --- a/modules/pty +++ b/modules/pty @@ -22,9 +22,8 @@ BUILT_SOURCES += pty.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. pty.h: pty.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/sched b/modules/sched index e19603af4..16cbf707f 100644 --- a/modules/sched +++ b/modules/sched @@ -23,9 +23,8 @@ BUILT_SOURCES += sched.h # We need the following in order to create a replacement for when # the system doesn't have one. sched.h: sched.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ diff --git a/modules/search b/modules/search index cacabbd73..d83cce732 100644 --- a/modules/search +++ b/modules/search @@ -23,9 +23,8 @@ BUILT_SOURCES += search.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. search.h: search.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/sed-header b/modules/sed-header index bf7278723..9998b4986 100644 --- a/modules/sed-header +++ b/modules/sed-header @@ -27,6 +27,11 @@ SED_HEADER_TO_AT_t = sed -n \ -e x \ -e 'w $@-t' +# Use $(gl_V_at) instead of $(AM_V_GEN) or $(AM_V_at) on a line that +# is its recipe's first line if and only if @NMD@ lines are absent. +@NMD@gl_V_at = $(AM_V_at) +@!NMD@gl_V_at = $(AM_V_GEN) + Include: License: diff --git a/modules/signal-h b/modules/signal-h index 8f6cc76ca..8998a5d1a 100644 --- a/modules/signal-h +++ b/modules/signal-h @@ -25,9 +25,8 @@ BUILT_SOURCES += signal.h # We need the following in order to create when the system # doesn't have a complete one. signal.h: signal.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/sigsegv b/modules/sigsegv index 873235170..6c08aa091 100644 --- a/modules/sigsegv +++ b/modules/sigsegv @@ -71,9 +71,8 @@ BUILT_SOURCES += $(SIGSEGV_H) if GL_GENERATE_SIGSEGV_H sigsegv.h: sigsegv.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h $(AM_V_at)mv $@-t $@ else sigsegv.h: $(top_builddir)/config.status diff --git a/modules/snippet/link-warning b/modules/snippet/link-warning index 611c108c1..235623f52 100644 --- a/modules/snippet/link-warning +++ b/modules/snippet/link-warning @@ -8,6 +8,7 @@ Files: build-aux/snippet/link-warning.h Depends-on: +sed-header configure.ac: AC_REQUIRE([gl_FEATURES_H]) @@ -25,9 +26,8 @@ Makefile.am: BUILT_SOURCES += link-warning.h link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \ < $(top_srcdir)/build-aux/snippet/link-warning.h \ | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ > $@-t diff --git a/modules/spawn b/modules/spawn index 2cb1f54be..49c31b7ab 100644 --- a/modules/spawn +++ b/modules/spawn @@ -26,9 +26,8 @@ BUILT_SOURCES += spawn.h # We need the following in order to create a replacement for when # the system doesn't have one. spawn.h: spawn.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/stdalign b/modules/stdalign index e367fd080..cd55feca4 100644 --- a/modules/stdalign +++ b/modules/stdalign @@ -20,9 +20,8 @@ BUILT_SOURCES += $(STDALIGN_H) # doesn't have one that works. if GL_GENERATE_STDALIGN_H stdalign.h: stdalign.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h $(AM_V_at)mv $@-t $@ else stdalign.h: $(top_builddir)/config.status diff --git a/modules/stdarg b/modules/stdarg index 1bc6d238d..8c95f1d10 100644 --- a/modules/stdarg +++ b/modules/stdarg @@ -26,9 +26,8 @@ BUILT_SOURCES += $(STDARG_H) # doesn't have one that works with the given compiler. if GL_GENERATE_STDARG_H stdarg.h: stdarg.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/stdbool b/modules/stdbool index 8143ba248..45ddb17d9 100644 --- a/modules/stdbool +++ b/modules/stdbool @@ -21,9 +21,8 @@ BUILT_SOURCES += $(STDBOOL_H) # doesn't have one that works. if GL_GENERATE_STDBOOL_H stdbool.h: stdbool.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \ $(srcdir)/stdbool.in.h > $@-t $(AM_V_at)mv $@-t $@ diff --git a/modules/stddef b/modules/stddef index d281d068e..f95a78876 100644 --- a/modules/stddef +++ b/modules/stddef @@ -24,9 +24,8 @@ BUILT_SOURCES += $(STDDEF_H) # doesn't have one that works with the given compiler. if GL_GENERATE_STDDEF_H stddef.h: stddef.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/stdint b/modules/stdint index dea1950a0..ce52ad10f 100644 --- a/modules/stdint +++ b/modules/stdint @@ -33,9 +33,8 @@ BUILT_SOURCES += $(STDINT_H) # doesn't have one that works with the given compiler. if GL_GENERATE_STDINT_H stdint.h: stdint.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/stdio b/modules/stdio index 87d15db43..9742efef8 100644 --- a/modules/stdio +++ b/modules/stdio @@ -52,9 +52,8 @@ BUILT_SOURCES += stdio.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. stdio.h: stdio.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/stdlib b/modules/stdlib index 8d2da19ed..8bc0148cf 100644 --- a/modules/stdlib +++ b/modules/stdlib @@ -27,9 +27,8 @@ BUILT_SOURCES += stdlib.h # doesn't have one that works with the given compiler. stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/stdnoreturn b/modules/stdnoreturn index 5214f1739..8412f8e6d 100644 --- a/modules/stdnoreturn +++ b/modules/stdnoreturn @@ -21,9 +21,8 @@ BUILT_SOURCES += $(STDNORETURN_H) # doesn't have one that works. if GL_GENERATE_STDNORETURN_H stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \ $(srcdir)/stdnoreturn.in.h > $@-t $(AM_V_at)mv $@-t $@ diff --git a/modules/string b/modules/string index 67135a732..bd2522154 100644 --- a/modules/string +++ b/modules/string @@ -27,9 +27,8 @@ BUILT_SOURCES += string.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. string.h: string.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/strings b/modules/strings index 0431753e4..73941a26e 100644 --- a/modules/strings +++ b/modules/strings @@ -24,9 +24,8 @@ BUILT_SOURCES += strings.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/sysexits b/modules/sysexits index 8f219e2a9..7211012ef 100644 --- a/modules/sysexits +++ b/modules/sysexits @@ -22,9 +22,8 @@ BUILT_SOURCES += $(SYSEXITS_H) # doesn't have one that works with the given compiler. if GL_GENERATE_SYSEXITS_H sysexits.h: sysexits.in.h $(top_builddir)/config.status - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/termios b/modules/termios index 43b489abb..972c2f6a8 100644 --- a/modules/termios +++ b/modules/termios @@ -23,9 +23,8 @@ BUILT_SOURCES += termios.h # We need the following in order to create when the system # version does not have all declarations. termios.h: termios.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/threads-h b/modules/threads-h index 1f1eb0113..ecf038cc6 100644 --- a/modules/threads-h +++ b/modules/threads-h @@ -40,9 +40,8 @@ BUILT_SOURCES += threads.h # We need the following in order to create when the system # doesn't have one. threads.h: threads.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/time b/modules/time index 36d3dece6..2e540a3cf 100644 --- a/modules/time +++ b/modules/time @@ -25,9 +25,8 @@ BUILT_SOURCES += time.h # We need the following in order to create when the system # doesn't have one that works with the given compiler. time.h: time.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/uchar b/modules/uchar index ddd5944db..f80dc8da7 100644 --- a/modules/uchar +++ b/modules/uchar @@ -22,9 +22,8 @@ Makefile.am: BUILT_SOURCES += uchar.h uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/unicase/base b/modules/unicase/base index f9a99c848..fba0cf16e 100644 --- a/modules/unicase/base +++ b/modules/unicase/base @@ -19,9 +19,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H) unicase.h: unicase.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unicase.h unicase.h-t diff --git a/modules/uniconv/base b/modules/uniconv/base index 6dbbbbe6a..caa5e6c1f 100644 --- a/modules/uniconv/base +++ b/modules/uniconv/base @@ -20,9 +20,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H) uniconv.h: uniconv.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += uniconv.h uniconv.h-t diff --git a/modules/unictype/base b/modules/unictype/base index d5c73c9fe..798b901c6 100644 --- a/modules/unictype/base +++ b/modules/unictype/base @@ -18,9 +18,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H) unictype.h: unictype.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unictype.h unictype.h-t diff --git a/modules/unigbrk/base b/modules/unigbrk/base index 2672e6ef9..e38bcc016 100644 --- a/modules/unigbrk/base +++ b/modules/unigbrk/base @@ -18,9 +18,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H) unigbrk.h: unigbrk.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unigbrk.h unigbrk.h-t diff --git a/modules/unilbrk/base b/modules/unilbrk/base index 4deda4436..eb5b34533 100644 --- a/modules/unilbrk/base +++ b/modules/unilbrk/base @@ -18,9 +18,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H) unilbrk.h: unilbrk.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t diff --git a/modules/uniname/base b/modules/uniname/base index c573d089a..6a641ac76 100644 --- a/modules/uniname/base +++ b/modules/uniname/base @@ -17,9 +17,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H) uniname.h: uniname.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += uniname.h uniname.h-t diff --git a/modules/uninorm/base b/modules/uninorm/base index 51139fa53..82c89d904 100644 --- a/modules/uninorm/base +++ b/modules/uninorm/base @@ -17,9 +17,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H) uninorm.h: uninorm.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += uninorm.h uninorm.h-t diff --git a/modules/unistd b/modules/unistd index 86acab3e6..bf14de966 100644 --- a/modules/unistd +++ b/modules/unistd @@ -31,9 +31,8 @@ lib_SOURCES += unistd.c # We need the following in order to create an empty placeholder for # when the system doesn't have one. unistd.h: unistd.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/unistdio/base b/modules/unistdio/base index 6838cbb9b..78a10510f 100644 --- a/modules/unistdio/base +++ b/modules/unistdio/base @@ -17,9 +17,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H) unistdio.h: unistdio.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unistdio.h unistdio.h-t diff --git a/modules/unistr/base b/modules/unistr/base index ae9ad1985..eade41007 100644 --- a/modules/unistr/base +++ b/modules/unistr/base @@ -19,9 +19,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) unistr.h: unistr.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unistr.h unistr.h-t diff --git a/modules/unitypes b/modules/unitypes index 8c85c5afe..47736a532 100644 --- a/modules/unitypes +++ b/modules/unitypes @@ -33,9 +33,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) unitypes.h: unitypes.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += unitypes.h unitypes.h-t diff --git a/modules/uniwbrk/base b/modules/uniwbrk/base index 4697972fd..f107e7ca7 100644 --- a/modules/uniwbrk/base +++ b/modules/uniwbrk/base @@ -17,9 +17,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H) uniwbrk.h: uniwbrk.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += uniwbrk.h uniwbrk.h-t diff --git a/modules/uniwidth/base b/modules/uniwidth/base index 25423c64d..8660ef770 100644 --- a/modules/uniwidth/base +++ b/modules/uniwidth/base @@ -18,9 +18,8 @@ Makefile.am: BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) uniwidth.h: uniwidth.in.h - $(AM_V_GEN) -@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' - $(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h $(AM_V_at)mv $@-t $@ MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t diff --git a/modules/utime-h b/modules/utime-h index 8e27bf0b1..b620abb8b 100644 --- a/modules/utime-h +++ b/modules/utime-h @@ -23,9 +23,8 @@ 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. utime.h: utime.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's/@''HAVE_UTIME_H''@/$(HAVE_UTIME_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ diff --git a/modules/wchar b/modules/wchar index dd5826de7..2d50f3cfc 100644 --- a/modules/wchar +++ b/modules/wchar @@ -28,9 +28,8 @@ BUILT_SOURCES += wchar.h # We need the following in order to create when the system # version does not work standalone. wchar.h: wchar.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ diff --git a/modules/wctype-h b/modules/wctype-h index 312371493..5d99abe5e 100644 --- a/modules/wctype-h +++ b/modules/wctype-h @@ -26,9 +26,8 @@ lib_SOURCES += wctype-h.c # We need the following in order to create when the system # doesn't have one that works with the given compiler. wctype.h: wctype.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)$(SED_HEADER_STDOUT) \ +@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%' + $(gl_V_at)$(SED_HEADER_STDOUT) \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -- 2.32.0