* configure.in: Search for gethostbyname in libnsl.
[deliverable/binutils-gdb.git] / gdb / configure.in
index 034339ebb7ecc644479c6de93aef110e9424f6a3..e14e10294b1757509a8a8128ac8bc91fd6570615 100644 (file)
@@ -264,6 +264,9 @@ AC_CHECK_LIB(m, main)
 AC_CHECK_FUNC(wctype, [],
   [AC_CHECK_LIB(w, wctype)])
 
+# Some systems (e.g. Solaris) have `gethostbyname' in libnsl.
+AC_SEARCH_LIBS(gethostbyname, nsl)
+
 # Some systems (e.g. Solaris) have `socketpair' in libsocket.
 AC_SEARCH_LIBS(socketpair, socket)
 
This page took 0.023889 seconds and 4 git commands to generate.