1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-08 17:22:05 +03:00

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)
(func_emit_lib_Makefile_am): Support @!NMD@ too.
* modules/gen-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.
This commit is contained in:
Paul Eggert
2021-12-24 17:22:00 -08:00
parent bb172844a8
commit b4c57b4240
71 changed files with 177 additions and 205 deletions

View File

@@ -1,5 +1,36 @@
2021-12-24 Paul Eggert <eggert@cs.ucla.edu> 2021-12-24 Paul Eggert <eggert@cs.ucla.edu>
maint: avoid empty lines in recipes
AIX 7.2 make complains about recipe lines that are empty after
macro expansion, and I suppose theres 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)
(func_emit_lib_Makefile_am): Support @!NMD@ too.
* modules/gen-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 maint: tight-scope-mk need not be read-only
* top/maint.mk (tight-scope.mk): Dont bother to make * top/maint.mk (tight-scope.mk): Dont bother to make
tight-scope.mk read-only either. tight-scope.mk read-only either.

View File

@@ -3729,9 +3729,9 @@ func_emit_lib_Makefile_am ()
# Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations. # Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations.
# The logic is similar to how we define gl_source_base_prefix. # The logic is similar to how we define gl_source_base_prefix.
if $automake_subdir; then if $automake_subdir; then
sed_eliminate_NMD='s/@NMD@//' sed_eliminate_NMD='s/@NMD@//;/@!NMD@/d'
else else
sed_eliminate_NMD='/@NMD@/d' sed_eliminate_NMD='/@NMD@/d;s/@!NMD@//'
fi fi
if $for_test; then if $for_test; then
# When creating a package for testing: Attempt to provoke failures, # When creating a package for testing: Attempt to provoke failures,
@@ -4109,7 +4109,7 @@ func_emit_tests_Makefile_am ()
fi fi
# Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations. # Replace NMD, so as to remove redundant "$(MKDIR_P) '.'" invocations.
# The logic is similar to how we define gl_source_base_prefix. # 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 if $for_test; then
# When creating a package for testing: Attempt to provoke failures, # When creating a package for testing: Attempt to provoke failures,
# especially link errors, already during "make" rather than during # especially link errors, already during "make" rather than during

View File

@@ -22,9 +22,8 @@ BUILT_SOURCES += $(ALLOCA_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_ALLOCA_H if GL_GENERATE_ALLOCA_H
alloca.h: alloca.in.h $(top_builddir)/config.status alloca.h: alloca.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \ -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
$(srcdir)/alloca.in.h > $@-t $(srcdir)/alloca.in.h > $@-t
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@

View File

@@ -30,9 +30,8 @@ BUILT_SOURCES += $(ARGZ_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_ARGZ_H if GL_GENERATE_ARGZ_H
argz.h: argz.in.h $(top_builddir)/config.status argz.h: argz.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/argz.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
argz.h: $(top_builddir)/config.status argz.h: $(top_builddir)/config.status

View File

@@ -22,9 +22,8 @@ BUILT_SOURCES += $(ASSERT_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_ASSERT_H if GL_GENERATE_ASSERT_H
assert.h: assert.in.h verify.h $(top_builddir)/config.status assert.h: assert.in.h verify.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at){ $(SED_HEADER_STDOUT) \
$(AM_V_at){ $(SED_HEADER_STDOUT) \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \

View File

@@ -20,9 +20,8 @@ BUILT_SOURCES += $(BYTESWAP_H)
# doesn't have one. # doesn't have one.
if GL_GENERATE_BYTESWAP_H if GL_GENERATE_BYTESWAP_H
byteswap.h: byteswap.in.h $(top_builddir)/config.status byteswap.h: byteswap.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/byteswap.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
byteswap.h: $(top_builddir)/config.status byteswap.h: $(top_builddir)/config.status

View File

@@ -5,6 +5,7 @@ Files:
m4/configmake.m4 m4/configmake.m4
Depends-on: Depends-on:
gen-header
configure.ac: configure.ac:
gl_CONFIGMAKE_PREP gl_CONFIGMAKE_PREP
@@ -16,9 +17,8 @@ Makefile.am:
# The Automake-defined pkg* macros are appended, in the order # The Automake-defined pkg* macros are appended, in the order
# listed in the Automake 1.10a+ documentation. # listed in the Automake 1.10a+ documentation.
configmake.h: Makefile configmake.h: Makefile
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
$(AM_V_at){ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
echo '#if HAVE_WINSOCK2_H'; \ echo '#if HAVE_WINSOCK2_H'; \
echo '# include <winsock2.h> /* avoid mingw pollution on DATADIR */'; \ echo '# include <winsock2.h> /* avoid mingw pollution on DATADIR */'; \
echo '#endif'; \ echo '#endif'; \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += ctype.h
# We need the following in order to create <ctype.h> when the system # We need the following in order to create <ctype.h> when the system
# doesn't have one that works with the given compiler. # 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) ctype.h: ctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += dirent.h
# We need the following in order to create <dirent.h> when the system # We need the following in order to create <dirent.h> when the system
# doesn't have one that works with the given compiler. # 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) dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \ -e 's|@''HAVE_DIRENT_H''@|$(HAVE_DIRENT_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -21,9 +21,8 @@ BUILT_SOURCES += $(ERRNO_H)
# doesn't have one that is POSIX compliant. # doesn't have one that is POSIX compliant.
if GL_GENERATE_ERRNO_H if GL_GENERATE_ERRNO_H
errno.h: errno.in.h $(top_builddir)/config.status errno.h: errno.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += $(EXECINFO_H)
# doesn't have one that works. # doesn't have one that works.
if GL_GENERATE_EXECINFO_H if GL_GENERATE_EXECINFO_H
execinfo.h: execinfo.in.h $(top_builddir)/config.status execinfo.h: execinfo.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/execinfo.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
execinfo.h: $(top_builddir)/config.status execinfo.h: $(top_builddir)/config.status

View File

@@ -28,9 +28,8 @@ BUILT_SOURCES += fcntl.h
# We need the following in order to create <fcntl.h> when the system # We need the following in order to create <fcntl.h> when the system
# doesn't have one that works with the given compiler. # 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) fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -29,9 +29,8 @@ BUILT_SOURCES += $(FLOAT_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_FLOAT_H if GL_GENERATE_FLOAT_H
float.h: float.in.h $(top_builddir)/config.status float.h: float.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += $(FNMATCH_H)
# We need the following in order to create <fnmatch.h>. # We need the following in order to create <fnmatch.h>.
if GL_GENERATE_FNMATCH_H if GL_GENERATE_FNMATCH_H
fnmatch.h: fnmatch.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \ -e 's|@''HAVE_FNMATCH_H''@|$(HAVE_FNMATCH_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -30,6 +30,11 @@ SED_HEADER_TO_AT_t = sed -n \
-e x \ -e x \
-e 'w $@-t' -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: Include:
License: License:

View File

@@ -42,9 +42,8 @@ BUILT_SOURCES += $(GETOPT_H) $(GETOPT_CDEFS_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_GETOPT_H if GL_GENERATE_GETOPT_H
getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H) getopt.h: getopt.in.h $(top_builddir)/config.status $(ARG_NONNULL_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \ -e 's|@''HAVE_GETOPT_H''@|$(HAVE_GETOPT_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -29,9 +29,8 @@ BUILT_SOURCES += $(GLOB_H)
# We need the following in order to create <glob.h>. # We need the following in order to create <glob.h>.
if GL_GENERATE_GLOB_H if GL_GENERATE_GLOB_H
glob.h: glob.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \ -e 's|@''HAVE_GLOB_H''@|$(HAVE_GLOB_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += $(ICONV_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_ICONV_H if GL_GENERATE_ICONV_H
iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -20,9 +20,8 @@ BUILT_SOURCES += $(IEEE754_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_IEEE754_H if GL_GENERATE_IEEE754_H
ieee754.h: ieee754.in.h $(top_builddir)/config.status ieee754.h: ieee754.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \ -e 's/ifndef _GL_GNULIB_HEADER/if 0/g' \
$(srcdir)/ieee754.in.h > $@-t $(srcdir)/ieee754.in.h > $@-t
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += inttypes.h
# We need the following in order to create <inttypes.h> when the system # We need the following in order to create <inttypes.h> when the system
# doesn't have one that works with the given compiler. # 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) inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \ -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += langinfo.h
# We need the following in order to create an empty placeholder for # We need the following in order to create an empty placeholder for
# <langinfo.h> when the system doesn't have one. # <langinfo.h> when the system doesn't have one.
langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \ -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -29,9 +29,8 @@ BUILT_SOURCES += $(TEXTSTYLE_H)
# <textstyle.h> when the system doesn't have one. # <textstyle.h> when the system doesn't have one.
if GL_GENERATE_TEXTSTYLE_H if GL_GENERATE_TEXTSTYLE_H
textstyle.h: textstyle.in.h $(top_builddir)/config.status textstyle.h: textstyle.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/textstyle.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
textstyle.h: $(top_builddir)/config.status textstyle.h: $(top_builddir)/config.status

View File

@@ -21,9 +21,8 @@ BUILT_SOURCES += $(LIMITS_H)
# doesn't have one that is compatible with GNU. # doesn't have one that is compatible with GNU.
if GL_GENERATE_LIMITS_H if GL_GENERATE_LIMITS_H
limits.h: limits.in.h $(top_builddir)/config.status limits.h: limits.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += locale.h
# We need the following in order to create <locale.h> when the system # We need the following in order to create <locale.h> when the system
# doesn't have one that provides all definitions. # 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) locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -21,9 +21,8 @@ BUILT_SOURCES += malloc.h
# We need the following in order to create <malloc.h> when we add workarounds. # We need the following in order to create <malloc.h> when we add workarounds.
malloc.h: malloc.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) malloc.h: malloc.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \ -e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -27,9 +27,8 @@ lib_SOURCES += math.c
# We need the following in order to create <math.h> when the system # We need the following in order to create <math.h> when the system
# doesn't have one that works with the given compiler. # 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) math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \ -e 's|@''INCLUDE_NEXT_AS_FIRST_DIRECTIVE''@|$(INCLUDE_NEXT_AS_FIRST_DIRECTIVE)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += $(MONETARY_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_MONETARY_H if GL_GENERATE_MONETARY_H
monetary.h: monetary.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \ -e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -24,9 +24,8 @@ BUILT_SOURCES += netdb.h
# We need the following in order to create <netdb.h> when the system # We need the following in order to create <netdb.h> when the system
# doesn't have one that works with the given compiler. # 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) netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += omp.h
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ omp.h: omp.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -24,9 +24,8 @@ BUILT_SOURCES += poll.h
# We need the following in order to create <poll.h> when the system # We need the following in order to create <poll.h> when the system
# doesn't have one. # doesn't have one.
poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \ -e 's|@''HAVE_POLL_H''@|$(HAVE_POLL_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -5,6 +5,7 @@ Files:
m4/posix-shell.m4 m4/posix-shell.m4
Depends-on: Depends-on:
gen-header
configure.ac: configure.ac:
gl_POSIX_SHELL gl_POSIX_SHELL
@@ -13,9 +14,8 @@ AC_PROG_MKDIR_P
Makefile.am: Makefile.am:
##Sample usage of posix-shell module: ##Sample usage of posix-shell module:
#script: script.in #script: script.in
# $(AM_V_GEN) #@NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
#@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' # $(gl_V_at)sed \
# $(AM_V_at)sed \
# -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \ # -e 's#@''PREFERABLY_POSIX_SHELL''@#$(PREFERABLY_POSIX_SHELL)#g' \
# -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \ # -e 's#@''POSIX_SHELL''@#$(POSIX_SHELL)#g' \
# -e $(srcdir)/$@.in > $@-t # -e $(srcdir)/$@.in > $@-t

View File

@@ -31,9 +31,8 @@ BUILT_SOURCES += pthread.h
# We need the following in order to create <pthread.h> when the system # We need the following in order to create <pthread.h> when the system
# doesn't have one that works with the given compiler. # 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) 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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \ -e 's|@''HAVE_PTHREAD_H''@|$(HAVE_PTHREAD_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -22,9 +22,8 @@ BUILT_SOURCES += pty.h
# We need the following in order to create <pty.h> when the system # We need the following in order to create <pty.h> when the system
# doesn't have one that works with the given compiler. # 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) pty.h: pty.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \ -e 's|@''HAVE_PTY_H''@|$(HAVE_PTY_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += sched.h
# We need the following in order to create a replacement for <sched.h> when # We need the following in order to create a replacement for <sched.h> when
# the system doesn't have one. # the system doesn't have one.
sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) sched.h: sched.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \ -e 's|@''HAVE_SCHED_H''@|$(HAVE_SCHED_H)|g' \
-e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \ -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += search.h
# We need the following in order to create <search.h> when the system # We need the following in order to create <search.h> when the system
# doesn't have one that works with the given compiler. # 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) search.h: search.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \ -e 's|@''HAVE_SEARCH_H''@|$(HAVE_SEARCH_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += signal.h
# We need the following in order to create <signal.h> when the system # We need the following in order to create <signal.h> when the system
# doesn't have a complete one. # doesn't have a complete one.
signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -71,9 +71,8 @@ BUILT_SOURCES += $(SIGSEGV_H)
if GL_GENERATE_SIGSEGV_H if GL_GENERATE_SIGSEGV_H
sigsegv.h: sigsegv.in.h $(top_builddir)/config.status sigsegv.h: sigsegv.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/sigsegv.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
sigsegv.h: $(top_builddir)/config.status sigsegv.h: $(top_builddir)/config.status

View File

@@ -8,6 +8,7 @@ Files:
build-aux/snippet/link-warning.h build-aux/snippet/link-warning.h
Depends-on: Depends-on:
gen-header
configure.ac: configure.ac:
AC_REQUIRE([gl_FEATURES_H]) AC_REQUIRE([gl_FEATURES_H])
@@ -25,9 +26,8 @@ Makefile.am:
BUILT_SOURCES += link-warning.h BUILT_SOURCES += link-warning.h
link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h link-warning.h: $(top_srcdir)/build-aux/snippet/link-warning.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \
$(AM_V_at)sed -n -e '/HAVE_FEATURES_H/,$$p' \
< $(top_srcdir)/build-aux/snippet/link-warning.h \ < $(top_srcdir)/build-aux/snippet/link-warning.h \
| sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ | sed -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
> $@-t > $@-t

View File

@@ -26,9 +26,8 @@ BUILT_SOURCES += spawn.h
# We need the following in order to create a replacement for <spawn.h> when # We need the following in order to create a replacement for <spawn.h> when
# the system doesn't have one. # the system doesn't have one.
spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \ -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -20,9 +20,8 @@ BUILT_SOURCES += $(STDALIGN_H)
# doesn't have one that works. # doesn't have one that works.
if GL_GENERATE_STDALIGN_H if GL_GENERATE_STDALIGN_H
stdalign.h: stdalign.in.h $(top_builddir)/config.status stdalign.h: stdalign.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/stdalign.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
else else
stdalign.h: $(top_builddir)/config.status stdalign.h: $(top_builddir)/config.status

View File

@@ -26,9 +26,8 @@ BUILT_SOURCES += $(STDARG_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_STDARG_H if GL_GENERATE_STDARG_H
stdarg.h: stdarg.in.h $(top_builddir)/config.status stdarg.h: stdarg.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -21,9 +21,8 @@ BUILT_SOURCES += $(STDBOOL_H)
# doesn't have one that works. # doesn't have one that works.
if GL_GENERATE_STDBOOL_H if GL_GENERATE_STDBOOL_H
stdbool.h: stdbool.in.h $(top_builddir)/config.status stdbool.h: stdbool.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \ -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' \
$(srcdir)/stdbool.in.h > $@-t $(srcdir)/stdbool.in.h > $@-t
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@

View File

@@ -24,9 +24,8 @@ BUILT_SOURCES += $(STDDEF_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_STDDEF_H if GL_GENERATE_STDDEF_H
stddef.h: stddef.in.h $(top_builddir)/config.status stddef.h: stddef.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -33,9 +33,8 @@ BUILT_SOURCES += $(STDINT_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_STDINT_H if GL_GENERATE_STDINT_H
stdint.h: stdint.in.h $(top_builddir)/config.status stdint.h: stdint.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \ -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -52,9 +52,8 @@ BUILT_SOURCES += stdio.h
# We need the following in order to create <stdio.h> when the system # We need the following in order to create <stdio.h> when the system
# doesn't have one that works with the given compiler. # 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) stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -27,9 +27,8 @@ BUILT_SOURCES += stdlib.h
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \
$(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -21,9 +21,8 @@ BUILT_SOURCES += $(STDNORETURN_H)
# doesn't have one that works. # doesn't have one that works.
if GL_GENERATE_STDNORETURN_H if GL_GENERATE_STDNORETURN_H
stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H) stdnoreturn.h: stdnoreturn.in.h $(top_builddir)/config.status $(_NORETURN_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e '/definition of _Noreturn/r $(_NORETURN_H)' \ -e '/definition of _Noreturn/r $(_NORETURN_H)' \
$(srcdir)/stdnoreturn.in.h > $@-t $(srcdir)/stdnoreturn.in.h > $@-t
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@

View File

@@ -27,9 +27,8 @@ BUILT_SOURCES += string.h
# We need the following in order to create <string.h> when the system # We need the following in order to create <string.h> when the system
# doesn't have one that works with the given compiler. # 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) string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -24,9 +24,8 @@ BUILT_SOURCES += strings.h
# We need the following in order to create <strings.h> when the system # We need the following in order to create <strings.h> when the system
# doesn't have one that works with the given compiler. # 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) strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \ -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -8,7 +8,7 @@ m4/off_t.m4
m4/pid_t.m4 m4/pid_t.m4
Depends-on: Depends-on:
sed-header gen-header
include_next include_next
ssize_t ssize_t

View File

@@ -22,9 +22,8 @@ BUILT_SOURCES += $(SYSEXITS_H)
# doesn't have one that works with the given compiler. # doesn't have one that works with the given compiler.
if GL_GENERATE_SYSEXITS_H if GL_GENERATE_SYSEXITS_H
sysexits.h: sysexits.in.h $(top_builddir)/config.status sysexits.h: sysexits.in.h $(top_builddir)/config.status
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \ -e 's|@''HAVE_SYSEXITS_H''@|$(HAVE_SYSEXITS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += termios.h
# We need the following in order to create <termios.h> when the system # We need the following in order to create <termios.h> when the system
# version does not have all declarations. # version does not have all declarations.
termios.h: termios.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) termios.h: termios.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -40,9 +40,8 @@ BUILT_SOURCES += threads.h
# We need the following in order to create <threads.h> when the system # We need the following in order to create <threads.h> when the system
# doesn't have one. # doesn't have one.
threads.h: threads.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(_NORETURN_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) 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_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \ -e 's|@''HAVE_THREADS_H''@|$(HAVE_THREADS_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -25,9 +25,8 @@ BUILT_SOURCES += time.h
# We need the following in order to create <time.h> when the system # We need the following in order to create <time.h> when the system
# doesn't have one that works with the given compiler. # 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) time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -22,9 +22,8 @@ Makefile.am:
BUILT_SOURCES += uchar.h BUILT_SOURCES += uchar.h
uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) uchar.h: uchar.in.h $(top_builddir)/config.status $(CXXDEFS_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \ -e 's/@''HAVE_UCHAR_H''@/$(HAVE_UCHAR_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -19,9 +19,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H) BUILT_SOURCES += $(LIBUNISTRING_UNICASE_H)
unicase.h: unicase.in.h unicase.h: unicase.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unicase.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unicase.h unicase.h-t MOSTLYCLEANFILES += unicase.h unicase.h-t

View File

@@ -20,9 +20,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H) BUILT_SOURCES += $(LIBUNISTRING_UNICONV_H)
uniconv.h: uniconv.in.h uniconv.h: uniconv.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniconv.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniconv.h uniconv.h-t MOSTLYCLEANFILES += uniconv.h uniconv.h-t

View File

@@ -18,9 +18,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H) BUILT_SOURCES += $(LIBUNISTRING_UNICTYPE_H)
unictype.h: unictype.in.h unictype.h: unictype.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unictype.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unictype.h unictype.h-t MOSTLYCLEANFILES += unictype.h unictype.h-t

View File

@@ -18,9 +18,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H) BUILT_SOURCES += $(LIBUNISTRING_UNIGBRK_H)
unigbrk.h: unigbrk.in.h unigbrk.h: unigbrk.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unigbrk.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unigbrk.h unigbrk.h-t MOSTLYCLEANFILES += unigbrk.h unigbrk.h-t

View File

@@ -18,9 +18,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H) BUILT_SOURCES += $(LIBUNISTRING_UNILBRK_H)
unilbrk.h: unilbrk.in.h unilbrk.h: unilbrk.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unilbrk.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t MOSTLYCLEANFILES += unilbrk.h unilbrk.h-t

View File

@@ -17,9 +17,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H) BUILT_SOURCES += $(LIBUNISTRING_UNINAME_H)
uniname.h: uniname.in.h uniname.h: uniname.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniname.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniname.h uniname.h-t MOSTLYCLEANFILES += uniname.h uniname.h-t

View File

@@ -17,9 +17,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H) BUILT_SOURCES += $(LIBUNISTRING_UNINORM_H)
uninorm.h: uninorm.in.h uninorm.h: uninorm.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uninorm.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uninorm.h uninorm.h-t MOSTLYCLEANFILES += uninorm.h uninorm.h-t

View File

@@ -31,9 +31,8 @@ lib_SOURCES += unistd.c
# We need the following in order to create an empty placeholder for # We need the following in order to create an empty placeholder for
# <unistd.h> when the system doesn't have one. # <unistd.h> 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) unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \ -e 's|@''HAVE_UNISTD_H''@|$(HAVE_UNISTD_H)|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -17,9 +17,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H) BUILT_SOURCES += $(LIBUNISTRING_UNISTDIO_H)
unistdio.h: unistdio.in.h unistdio.h: unistdio.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistdio.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unistdio.h unistdio.h-t MOSTLYCLEANFILES += unistdio.h unistdio.h-t

View File

@@ -19,9 +19,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H) BUILT_SOURCES += $(LIBUNISTRING_UNISTR_H)
unistr.h: unistr.in.h unistr.h: unistr.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unistr.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unistr.h unistr.h-t MOSTLYCLEANFILES += unistr.h unistr.h-t

View File

@@ -33,9 +33,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H) BUILT_SOURCES += $(LIBUNISTRING_UNITYPES_H)
unitypes.h: unitypes.in.h unitypes.h: unitypes.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/unitypes.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += unitypes.h unitypes.h-t MOSTLYCLEANFILES += unitypes.h unitypes.h-t

View File

@@ -17,9 +17,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H) BUILT_SOURCES += $(LIBUNISTRING_UNIWBRK_H)
uniwbrk.h: uniwbrk.in.h uniwbrk.h: uniwbrk.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwbrk.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniwbrk.h uniwbrk.h-t MOSTLYCLEANFILES += uniwbrk.h uniwbrk.h-t

View File

@@ -18,9 +18,8 @@ Makefile.am:
BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H) BUILT_SOURCES += $(LIBUNISTRING_UNIWIDTH_H)
uniwidth.h: uniwidth.in.h uniwidth.h: uniwidth.in.h
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h
$(AM_V_at)$(SED_HEADER_TO_AT_t) $(srcdir)/uniwidth.in.h
$(AM_V_at)mv $@-t $@ $(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t MOSTLYCLEANFILES += uniwidth.h uniwidth.h-t

View File

@@ -23,9 +23,8 @@ BUILT_SOURCES += utime.h
# We need the following in order to create <utime.h> when the system # We need the following in order to create <utime.h> when the system
# doesn't have one that works with the given compiler. # 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) utime.h: utime.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_UTIME_H''@/$(HAVE_UTIME_H)/g' \ -e 's/@''HAVE_UTIME_H''@/$(HAVE_UTIME_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \

View File

@@ -28,9 +28,8 @@ BUILT_SOURCES += wchar.h
# We need the following in order to create <wchar.h> when the system # We need the following in order to create <wchar.h> when the system
# version does not work standalone. # version does not work standalone.
wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \

View File

@@ -26,9 +26,8 @@ lib_SOURCES += wctype-h.c
# We need the following in order to create <wctype.h> when the system # We need the following in order to create <wctype.h> when the system
# doesn't have one that works with the given compiler. # 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) wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
$(AM_V_GEN) @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
@NMD@ $(AM_V_at)$(MKDIR_P) '%reldir%' $(gl_V_at)$(SED_HEADER_STDOUT) \
$(AM_V_at)$(SED_HEADER_STDOUT) \
-e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \ -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
-e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \ -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \