From: Alejandro Colomar Date: Mon, 12 Dec 2022 19:06:39 +0000 (+0100) Subject: Assume socket(2) exists X-Git-Tag: 4.14.0-rc1~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5669b34891fcc393e916980c7a2ad02350e91953;p=thirdparty%2Fshadow.git Assume socket(2) exists It is required by POSIX.1-2001. Link: Cc: Christian Göttsche Cc: Iker Pedrosa Cc: Mike Frysinger Signed-off-by: Alejandro Colomar --- diff --git a/configure.ac b/configure.ac index 57415bd3d..51004bfa5 100644 --- a/configure.ac +++ b/configure.ac @@ -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=""])