summaryrefslogtreecommitdiff
path: root/m4/string_h.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-07-08 03:19:54 +0200
committerBruno Haible <bruno@clisp.org>2020-07-08 03:19:54 +0200
commit707090c9ed6a16bc4b152be300578761e34b2bed (patch)
tree285ceb1cfcf1caa1e8c759406631b8f37ccbf0b4 /m4/string_h.m4
parentcfcb5fc6b95ca04bd3c8637d4027641d07c15cbe (diff)
downloadgnulib-707090c9ed6a16bc4b152be300578761e34b2bed.tar.gz
memchr: Remove support for some very old platforms.
* m4/memchr-obsolete.m4: Remove file. * modules/memchr-obsolete: Remove file. * m4/memchr.m4 (gl_FUNC_MEMCHR): Assume module 'memchr-obsolete' is absent. Don't define HAVE_MEMCHR. * lib/string.in.h (memchr): Assume HAVE_MEMCHR is 1. * modules/memchr (Depends-on): Remove memchr-obsolete. (configure.ac): Assume HAVE_MEMCHR is 1. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Don't initialize HAVE_MEMCHR. * modules/string (Makefile.am): Don't substitute HAVE_MEMCHR. * doc/posix-functions/memchr.texi: Don't mention module 'memchr-obsolete'. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Assume HAVE_MEMCHR is 1. * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE): Assume HAVE_MEMCHR is 1. * modules/strnlen (Depends-on): Remove memchr-obsolete.
Diffstat (limited to 'm4/string_h.m4')
-rw-r--r--m4/string_h.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/string_h.m4 b/m4/string_h.m4
index cc51337f0d..516b346b31 100644
--- a/m4/string_h.m4
+++ b/m4/string_h.m4
@@ -5,7 +5,7 @@
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
-# serial 23
+# serial 24
# Written by Paul Eggert.
@@ -87,7 +87,6 @@ AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS],
HAVE_EXPLICIT_BZERO=1; AC_SUBST([HAVE_EXPLICIT_BZERO])
HAVE_FFSL=1; AC_SUBST([HAVE_FFSL])
HAVE_FFSLL=1; AC_SUBST([HAVE_FFSLL])
- HAVE_MEMCHR=1; AC_SUBST([HAVE_MEMCHR])
HAVE_DECL_MEMMEM=1; AC_SUBST([HAVE_DECL_MEMMEM])
HAVE_MEMPCPY=1; AC_SUBST([HAVE_MEMPCPY])
HAVE_DECL_MEMRCHR=1; AC_SUBST([HAVE_DECL_MEMRCHR])