summaryrefslogtreecommitdiff
path: root/modules/strnlen
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 /modules/strnlen
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 'modules/strnlen')
-rw-r--r--modules/strnlen1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/strnlen b/modules/strnlen
index c78167113d..ea5658a072 100644
--- a/modules/strnlen
+++ b/modules/strnlen
@@ -8,7 +8,6 @@ m4/strnlen.m4
Depends-on:
string
extensions
-memchr-obsolete [test $HAVE_DECL_STRNLEN = 0 || test $REPLACE_STRNLEN = 1]
configure.ac:
gl_FUNC_STRNLEN