aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.in
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-08-30 00:06:22 +0000
committerMark Kettenis <kettenis@gnu.org>2003-08-30 00:06:22 +0000
commitc890192f0346d5531958fa42b86e78c398092c4f (patch)
tree1a0173904d497bb633d87a6a5747ae0104654c36 /gdb/configure.in
parent5c68e5dbfb7338e51909daa22e75fe7de522655f (diff)
downloadgdb-c890192f0346d5531958fa42b86e78c398092c4f.zip
gdb-c890192f0346d5531958fa42b86e78c398092c4f.tar.gz
gdb-c890192f0346d5531958fa42b86e78c398092c4f.tar.bz2
* configure.in: Search for gethostbyname in libnsl.
* configure: Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r--gdb/configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/configure.in b/gdb/configure.in
index 034339e..e14e102 100644
--- a/gdb/configure.in
+++ b/gdb/configure.in
@@ -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)