summaryrefslogtreecommitdiff
path: root/modules/string
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-01-05 07:15:09 +0100
committerBruno Haible <bruno@clisp.org>2021-01-05 07:15:09 +0100
commite182feb2ce14200db52b3a4a2491119367d8c5e6 (patch)
tree4d6103dc66901c09b5244419366af8dbf7c7d1e0 /modules/string
parent3d1894d8dd3f33aeda81d674c2a1f19fded60085 (diff)
downloadgnulib-e182feb2ce14200db52b3a4a2491119367d8c5e6.tar.gz
ffsll: Override completely broken implementation on AIX in 32-bit mode.
* m4/ffsll.m4 (gl_FUNC_FFSLL): Test whether ffsll minimally works. If not, set REPLACE_FFSLL. * lib/string.in.h (ffsll): Consider REPLACE_FFSLL. * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Initialize REPLACE_FFSLL. * modules/string (Makefile.am): Substitute REPLACE_FFSLL. * modules/ffsll (Depends-on, configure.ac): Consider REPLACE_FFSLL. * doc/glibc-functions/ffsll.texi: Mention the AIX 7.2 bug.
Diffstat (limited to 'modules/string')
-rw-r--r--modules/string1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/string b/modules/string
index 8ce11d24ac..6c87229e4c 100644
--- a/modules/string
+++ b/modules/string
@@ -98,6 +98,7 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H
-e 's|@''HAVE_SIGDESCR_NP''@|$(HAVE_SIGDESCR_NP)|g' \
-e 's|@''HAVE_DECL_STRSIGNAL''@|$(HAVE_DECL_STRSIGNAL)|g' \
-e 's|@''HAVE_STRVERSCMP''@|$(HAVE_STRVERSCMP)|g' \
+ -e 's|@''REPLACE_FFSLL''@|$(REPLACE_FFSLL)|g' \
-e 's|@''REPLACE_MEMCHR''@|$(REPLACE_MEMCHR)|g' \
-e 's|@''REPLACE_MEMMEM''@|$(REPLACE_MEMMEM)|g' \
-e 's|@''REPLACE_STPNCPY''@|$(REPLACE_STPNCPY)|g' \