Use the synonymous term LGPLv2.
[gnulib.git] / modules / string
1 Description:
2 A GNU-like <string.h>.
3
4 Files:
5 lib/string_.h
6 m4/string_h.m4
7
8 Depends-on:
9 extensions
10 include_next
11 link-warning
12
13 configure.ac:
14 gl_HEADER_STRING_H
15
16 Makefile.am:
17 BUILT_SOURCES += string.h
18
19 # We need the following in order to create <string.h> when the system
20 # doesn't have one that works with the given compiler.
21 string.h: string_.h
22         rm -f $@-t $@
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
25               -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \
26               -e 's|@''GNULIB_MBSLEN''@|$(GNULIB_MBSLEN)|g' \
27               -e 's|@''GNULIB_MBSNLEN''@|$(GNULIB_MBSNLEN)|g' \
28               -e 's|@''GNULIB_MBSCHR''@|$(GNULIB_MBSCHR)|g' \
29               -e 's|@''GNULIB_MBSRCHR''@|$(GNULIB_MBSRCHR)|g' \
30               -e 's|@''GNULIB_MBSSTR''@|$(GNULIB_MBSSTR)|g' \
31               -e 's|@''GNULIB_MBSCASECMP''@|$(GNULIB_MBSCASECMP)|g' \
32               -e 's|@''GNULIB_MBSNCASECMP''@|$(GNULIB_MBSNCASECMP)|g' \
33               -e 's|@''GNULIB_MBSPCASECMP''@|$(GNULIB_MBSPCASECMP)|g' \
34               -e 's|@''GNULIB_MBSCASESTR''@|$(GNULIB_MBSCASESTR)|g' \
35               -e 's|@''GNULIB_MBSCSPN''@|$(GNULIB_MBSCSPN)|g' \
36               -e 's|@''GNULIB_MBSPBRK''@|$(GNULIB_MBSPBRK)|g' \
37               -e 's|@''GNULIB_MBSSPN''@|$(GNULIB_MBSSPN)|g' \
38               -e 's|@''GNULIB_MBSSEP''@|$(GNULIB_MBSSEP)|g' \
39               -e 's|@''GNULIB_MBSTOK_R''@|$(GNULIB_MBSTOK_R)|g' \
40               -e 's|@''GNULIB_MEMMEM''@|$(GNULIB_MEMMEM)|g' \
41               -e 's|@''GNULIB_MEMPCPY''@|$(GNULIB_MEMPCPY)|g' \
42               -e 's|@''GNULIB_MEMRCHR''@|$(GNULIB_MEMRCHR)|g' \
43               -e 's|@''GNULIB_STPCPY''@|$(GNULIB_STPCPY)|g' \
44               -e 's|@''GNULIB_STPNCPY''@|$(GNULIB_STPNCPY)|g' \
45               -e 's|@''GNULIB_STRCHRNUL''@|$(GNULIB_STRCHRNUL)|g' \
46               -e 's|@''GNULIB_STRDUP''@|$(GNULIB_STRDUP)|g' \
47               -e 's|@''GNULIB_STRNDUP''@|$(GNULIB_STRNDUP)|g' \
48               -e 's|@''GNULIB_STRNLEN''@|$(GNULIB_STRNLEN)|g' \
49               -e 's|@''GNULIB_STRPBRK''@|$(GNULIB_STRPBRK)|g' \
50               -e 's|@''GNULIB_STRSEP''@|$(GNULIB_STRSEP)|g' \
51               -e 's|@''GNULIB_STRCASESTR''@|$(GNULIB_STRCASESTR)|g' \
52               -e 's|@''GNULIB_STRTOK_R''@|$(GNULIB_STRTOK_R)|g' \
53               -e 's|@''HAVE_DECL_MEMMEM''@|$(HAVE_DECL_MEMMEM)|g' \
54               -e 's|@''HAVE_MEMPCPY''@|$(HAVE_MEMPCPY)|g' \
55               -e 's|@''HAVE_DECL_MEMRCHR''@|$(HAVE_DECL_MEMRCHR)|g' \
56               -e 's|@''HAVE_STPCPY''@|$(HAVE_STPCPY)|g' \
57               -e 's|@''HAVE_STPNCPY''@|$(HAVE_STPNCPY)|g' \
58               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
59               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
60               -e 's|@''HAVE_STRCHRNUL''@|$(HAVE_STRCHRNUL)|g' \
61               -e 's|@''HAVE_DECL_STRDUP''@|$(HAVE_DECL_STRDUP)|g' \
62               -e 's|@''HAVE_STRNDUP''@|$(HAVE_STRNDUP)|g' \
63               -e 's|@''HAVE_DECL_STRNDUP''@|$(HAVE_DECL_STRNDUP)|g' \
64               -e 's|@''HAVE_DECL_STRNLEN''@|$(HAVE_DECL_STRNLEN)|g' \
65               -e 's|@''HAVE_STRPBRK''@|$(HAVE_STRPBRK)|g' \
66               -e 's|@''HAVE_STRSEP''@|$(HAVE_STRSEP)|g' \
67               -e 's|@''HAVE_STRCASESTR''@|$(HAVE_STRCASESTR)|g' \
68               -e 's|@''HAVE_DECL_STRTOK_R''@|$(HAVE_DECL_STRTOK_R)|g' \
69               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
70               < $(srcdir)/string_.h; \
71         } > $@-t
72         mv $@-t $@
73 MOSTLYCLEANFILES += string.h string.h-t
74
75 Include:
76 #include <string.h>
77
78 License:
79 LGPLv2+
80
81 Maintainer:
82 all