]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Remove unused autoconf check: strchr(3)
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 30 Dec 2021 13:37:27 +0000 (14:37 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 15 Jan 2022 14:25:53 +0000 (08:25 -0600)
The only place where the check was used was removed in 4e1afcd66.

BTW, it was unnecessary, since strchr(3) is defined by:
POSIX.1-2001, C89, SVr4, and 4.3BSD.  Enough to rely on it.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
configure.ac

index b92329a08057acf1c9f5dcfbe871a6d2d706fcce..28acee8242bc4da72afe1670f98501b1119bf2af 100644 (file)
@@ -51,7 +51,7 @@ AC_CHECK_HEADER([shadow.h],,[AC_MSG_ERROR([You need a libc with shadow.h])])
 AC_CHECK_FUNCS(arc4random_buf l64a fchmod fchown fsync futimes \
        gethostname getentropy getrandom getspnam gettimeofday getusershell \
        getutent initgroups lchown lckpwdf lstat lutimes \
-       setgroups sigaction strchr updwtmp updwtmpx innetgr getpwnam_r \
+       setgroups sigaction updwtmp updwtmpx innetgr getpwnam_r \
        getpwuid_r getgrnam_r getgrgid_r getspnam_r getaddrinfo ruserok \
        dlopen memset_s explicit_bzero)
 AC_SYS_LARGEFILE