]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Assume inet_ntoa(3) exists
authorAlejandro Colomar <alx@kernel.org>
Mon, 12 Dec 2022 19:05:47 +0000 (20:05 +0100)
committerSerge Hallyn <serge@hallyn.com>
Thu, 15 Dec 2022 22:22:05 +0000 (16:22 -0600)
It is required by POSIX.1-2001.

Link: <https://github.com/shadow-maint/shadow/pull/600>
Cc: Christian Göttsche <cgzones@googlemail.com>
Cc: Iker Pedrosa <ipedrosa@redhat.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
configure.ac

index f7f0119a23296454e6a11c73191f698aef93f03e..57415bd3db975c2bedda5bccf8475becc1d78f65 100644 (file)
@@ -337,7 +337,6 @@ dnl Check for some functions in libc first, only if not found check for
 dnl other libraries.  This should prevent linking libnsl if not really
 dnl needed (Linux glibc, Irix), but still link it if needed (Solaris).
 
-AC_SEARCH_LIBS(inet_ntoa, inet)
 AC_SEARCH_LIBS(socket, socket)
 AC_SEARCH_LIBS(gethostbyname, nsl)