2 A substitute <strings.h>.
17 BUILT_SOURCES += strings.h
19 # We need the following in order to create <strings.h> when the system
20 # doesn't have one that works with the given compiler.
21 strings.h: strings.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG_NONNULL_H)
22 $(AM_V_GEN)rm -f $@-t $@ && \
23 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24 sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
25 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
28 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
29 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
30 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
31 -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
32 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
33 < $(srcdir)/strings.in.h; \
36 MOSTLYCLEANFILES += strings.h strings.h-t