summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSami Kerola2012-10-12 23:13:05 +0200
committerKarel Zak2012-10-22 10:15:29 +0200
commitdab8e8cfd4e8c91df37918fa7a4f489658c90643 (patch)
tree8ccf9f64edd8b35eedfc256976070a1d655636fb /configure.ac
parentagetty: replace gethostbyname() with getaddrinfo() (diff)
downloadkernel-qcow2-util-linux-dab8e8cfd4e8c91df37918fa7a4f489658c90643.tar.gz
kernel-qcow2-util-linux-dab8e8cfd4e8c91df37918fa7a4f489658c90643.tar.xz
kernel-qcow2-util-linux-dab8e8cfd4e8c91df37918fa7a4f489658c90643.zip
build-sys: remove gethostbyname() check
Removed as unnecessary, there are no references to gethostbyname() in code. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index d0a7b57b4..fd5bc2e8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,10 +341,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";