strsignal-tests: Fix test failure on macOS 10.13.
[gnulib.git] / modules / strings
blob919b49de4f5ae7419d24d4b38849790cc86f74a4
1 Description:
2 A substitute <strings.h>.
4 Files:
5 lib/strings.in.h
6 m4/strings_h.m4
8 Depends-on:
9 include_next
10 snippet/arg-nonnull
11 snippet/c++defs
12 snippet/warn-on-use
13 sys_types
15 configure.ac:
16 gl_HEADER_STRINGS_H
18 Makefile.am:
19 BUILT_SOURCES += strings.h
21 # We need the following in order to create <strings.h> when the system
22 # doesn't have one that works with the given compiler.
23 strings.h: strings.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''HAVE_STRINGS_H''@|$(HAVE_STRINGS_H)|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_STRINGS_H''@|$(NEXT_STRINGS_H)|g' \
32               -e 's/@''GNULIB_FFS''@/$(GNULIB_FFS)/g' \
33               -e 's|@''HAVE_FFS''@|$(HAVE_FFS)|g' \
34               -e 's|@''HAVE_STRCASECMP''@|$(HAVE_STRCASECMP)|g' \
35               -e 's|@''HAVE_DECL_STRNCASECMP''@|$(HAVE_DECL_STRNCASECMP)|g' \
36               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
37               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
38               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
39               < $(srcdir)/strings.in.h; \
40         } > $@-t && \
41         mv $@-t $@
42 MOSTLYCLEANFILES += strings.h strings.h-t
44 Include:
45 <strings.h>
47 License:
48 LGPLv2+
50 Maintainer:
51 all