Search gethostbyname() in libbind and libnetwork

This is required for Haiku (BeOS clone) at least.
This commit is contained in:
Alexander Barton 2012-10-11 14:50:45 +00:00
parent c319fb8eaa
commit cdaaae0cb2
1 changed files with 2 additions and 2 deletions

View 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])
])