summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2012-10-11 14:50:45 +0000
committerAlexander Barton <alex@barton.de>2012-10-11 14:50:45 +0000
commitcdaaae0cb2c2b30db8bb61506a826ff87c58f7c8 (patch)
tree63fa32085df0f1424d6a7e264acaf4fa0be02fbe
parentc319fb8eaa859e1c5b4e0333abf4dabf6023708d (diff)
downloadngircd-cdaaae0cb2c2b30db8bb61506a826ff87c58f7c8.tar.gz
ngircd-cdaaae0cb2c2b30db8bb61506a826ff87c58f7c8.zip
Search gethostbyname() in libbind and libnetwork
This is required for Haiku (BeOS clone) at least.
-rw-r--r--configure.ng4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ng b/configure.ng
index a3cab6ae..4f0a14e0 100644
--- a/configure.ng
+++ b/configure.ng
@@ -164,11 +164,11 @@ AC_SEARCH_LIBS([memmove], [UTIL], [], [
 	AC_MSG_ERROR([unable to find the memmove() function])
 ])
 # gethostbyname: Solaris libnsl
-AC_SEARCH_LIBS([gethostbyname], [nsl], [], [
+AC_SEARCH_LIBS([gethostbyname], [bind nsl network], [], [
 	AC_MSG_ERROR([unable to find the gethostbyname() function])
 ])
 # bind: SVR4 libsocket
-AC_SEARCH_LIBS([bind], [socket], [], [
+AC_SEARCH_LIBS([bind], [socket network], [], [
 	AC_MSG_ERROR([unable to find the bind() function])
 ])