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

BTW, the function is defined by POSIX.1-2001 and RFC 2553, so it's likely that it is always available.

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

index e7efbf2aeb36169fe5f510f757c60100d13c4641..a89105b875c338ecc49008cab8e1c82c4d7f8a68 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 getaddrinfo ruserok \
+       getpwuid_r getgrnam_r getgrgid_r getspnam_r ruserok \
        memset_s explicit_bzero)
 AC_SYS_LARGEFILE