2 A substitute <strings.h>.
16 BUILT_SOURCES += strings.h
18 # We need the following in order to create <strings.h> when the system
19 # doesn't have one that works with the given compiler.
20 strings.h: strings.in.h
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23 sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
24 -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
25 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
26 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
27 -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
28 < $(srcdir)/strings.in.h; \
31 MOSTLYCLEANFILES += strings.h strings.h-t