From: Alejandro Colomar Date: Thu, 30 Dec 2021 13:37:27 +0000 (+0100) Subject: Remove unused autoconf check: strchr(3) X-Git-Tag: 4.12~89 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a39fbbab21ba6c56fbe148dbefb8cf857c2790;p=thirdparty%2Fshadow.git Remove unused autoconf check: strchr(3) 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 --- diff --git a/configure.ac b/configure.ac index b92329a08..28acee824 100644 --- a/configure.ac +++ b/configure.ac @@ -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