repo: ngircd
action: commit
revision: 
path_from: 
revision_from: cdaaae0cb2c2b30db8bb61506a826ff87c58f7c8:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit cdaaae0cb2c2b30db8bb61506a826ff87c58f7c8
Author: Alexander Barton 
Date:   Thu Oct 11 14:50:45 2012 +0000

    Search gethostbyname() in libbind and libnetwork

    This is required for Haiku (BeOS clone) at least.

diff --git a/configure.ng b/configure.ng
index a3cab6aee2a77b31cc901aa92ca5795ea5b5e415..
index ..4f0a14e058d0aec17449a6bdf997de4e0b1c3875 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])
 ])

-----END OF PAGE-----