]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Assume socket(2) exists
authorAlejandro Colomar <alx@kernel.org>
Mon, 12 Dec 2022 19:06:39 +0000 (20:06 +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 57415bd3db975c2bedda5bccf8475becc1d78f65..51004bfa5c09fd610a1bc35fc3806fc4e41c60c0 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(socket, socket)
 AC_SEARCH_LIBS(gethostbyname, nsl)
 
 AC_CHECK_LIB([econf],[econf_readDirs],[LIBECONF="-leconf"],[LIBECONF=""])