[PATCH 18/19] build-sys: remove gethostbyname() check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Removed as unnecessary, there are no references to gethostbyname() in
code.

Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 configure.ac | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index d94f271..075bfba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -340,10 +340,6 @@ AC_CHECK_MEMBER(struct sockaddr.sa_len,
 	 #include <sys/socket.h>])
 
 SOCKET_LIBS=
-AC_SEARCH_LIBS([gethostbyname], [nsl],
-	[if test x"$ac_cv_search_gethostbyname" != x"none required"; then
-		SOCKET_LIBS="$SOCKET_LIBS -lnsl";
-	 fi])
 AC_SEARCH_LIBS([socket], [socket],
 	[if test x"$ac_cv_search_socket" != x"none required"; then
 		SOCKET_LIBS="$SOCKET_LIBS -lsocket";
-- 
1.7.12.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux