Hash :
e182feb2
Author :
Date :
2021-01-05T07:15:09
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.
Description:
Finds the index of the least-significant set bit.
Files:
lib/ffsl.h
lib/ffsll.c
m4/ffsll.m4
Depends-on:
extensions
string
ffs [test $HAVE_FFSLL = 0 || test $REPLACE_FFSLL = 1]
configure.ac:
gl_FUNC_FFSLL
if test $HAVE_FFSLL = 0 || test $REPLACE_FFSLL = 1; then
AC_LIBOBJ([ffsll])
fi
gl_STRING_MODULE_INDICATOR([ffsll])
Makefile.am:
Include:
<string.h>
License:
LGPLv2+
Maintainer:
Eric Blake