Merge commit '039ae97'
[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 include_next
10 link-warning
11
12 configure.ac:
13 gl_HEADER_STRINGS_H
14
15 Makefile.am:
16 BUILT_SOURCES += strings.h
17
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 $(LINK_WARNING_H)
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
26               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
27               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
28               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
29               < $(srcdir)/strings.in.h; \
30         } > $@-t && \
31         mv $@-t $@
32 MOSTLYCLEANFILES += strings.h strings.h-t
33
34 Include:
35 <strings.h>
36
37 License:
38 LGPLv2+
39
40 Maintainer:
41 all