NEWS.stable: log cherry-pick [79aac72]->[cc1a9b7] canonicalize-lgpl: use common idiom
[gnulib.git] / modules / strings
1 Description:
2 A substitute <strings.h>.
3
4 Files:
5 lib/strings.in.h
6 m4/strings_h.m4
7
8 Depends-on:
9 arg-nonnull
10 include_next
11 warn-on-use
12
13 configure.ac:
14 gl_HEADER_STRINGS_H
15
16 Makefile.am:
17 BUILT_SOURCES += strings.h
18
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|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
27               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
28               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
29               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
30               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
31               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
32               < $(srcdir)/strings.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 MOSTLYCLEANFILES += strings.h strings.h-t
36
37 Include:
38 <strings.h>
39
40 License:
41 LGPLv2+
42
43 Maintainer:
44 all