16 BUILT_SOURCES += string.h
18 # We need the following in order to create <string.h> when the system
19 # doesn't have one that works with the given compiler.
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23 sed -e 's|@''ABSOLUTE_STRING_H''@|$(ABSOLUTE_STRING_H)|g' \
24 -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
25 -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
26 -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
27 -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
28 -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
29 -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
30 -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
31 -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
32 -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
33 -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
34 -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
35 -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
36 -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
37 -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
38 -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
39 -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
40 -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
41 -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
42 -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
43 -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
44 -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
45 -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
46 -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
47 -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
48 -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
49 -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
50 -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
51 -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
52 -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
53 -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
54 -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
55 -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
56 -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
57 -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
58 -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
59 < $(srcdir)/string_.h; \
62 MOSTLYCLEANFILES += string.h string.h-t