]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Remove unused autoconf check: ruserok(3)
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 30 Dec 2021 14:10:01 +0000 (15:10 +0100)
committerSerge Hallyn <serge@hallyn.com>
Sat, 15 Jan 2022 14:25:53 +0000 (08:25 -0600)
The macro HAVE_RUSEROK is not being used anywhere.

As the Linux manual page says, ruserok(3) is present on the BDSs, Solaris, and many other systems.  This function appeared in 4.2BSD.  So we probably can rely on its existence.

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

index a89105b875c338ecc49008cab8e1c82c4d7f8a68..9598ece0b41f860f97ba79a198302f341550c9b1 100644 (file)
@@ -52,7 +52,7 @@ AC_CHECK_FUNCS(arc4random_buf l64a fchmod fchown fsync futimes \
        getentropy getrandom getspnam getusershell \
        getutent initgroups lchown lckpwdf lstat lutimes \
        setgroups updwtmp updwtmpx innetgr getpwnam_r \
-       getpwuid_r getgrnam_r getgrgid_r getspnam_r ruserok \
+       getpwuid_r getgrnam_r getgrgid_r getspnam_r \
        memset_s explicit_bzero)
 AC_SYS_LARGEFILE