From: Sami Kerola Date: Fri, 12 Oct 2012 21:13:05 +0000 (+0100) Subject: build-sys: remove gethostbyname() check X-Git-Tag: v2.23-rc1~589 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab8e8cfd4e8c91df37918fa7a4f489658c90643;p=thirdparty%2Futil-linux.git build-sys: remove gethostbyname() check Removed as unnecessary, there are no references to gethostbyname() in code. Signed-off-by: Sami Kerola --- diff --git a/configure.ac b/configure.ac index d0a7b57b4f..fd5bc2e8de 100644 --- a/configure.ac +++ b/configure.ac @@ -341,10 +341,6 @@ AC_CHECK_MEMBER(struct sockaddr.sa_len, #include ]) 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";