Search gethostbyname() in libbind and libnetwork
authorAlexander Barton <alex@barton.de>
Thu, 11 Oct 2012 14:50:45 +0000 (14:50 +0000)
committerAlexander Barton <alex@barton.de>
Thu, 11 Oct 2012 14:50:45 +0000 (14:50 +0000)
This is required for Haiku (BeOS clone) at least.

configure.ng

index a3cab6a..4f0a14e 100644 (file)
@@ -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])
 ])