Skip to content

Commit 5194aca

Browse files
korliinfrastation
authored andcommitted
autoconf: search for gethostbyaddr() in libnetwork
This is needed for building on Haiku. (cherry picked from commit 13b7faa)
1 parent 758101e commit 5194aca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aclocal.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ AC_DEFUN(AC_LBL_LIBRARY_NET, [
10811081
# libraries (i.e. libc):
10821082
# Some OSes (eg. Solaris) place it in libnsl
10831083
# Some strange OSes (SINIX) have it in libsocket:
1084-
AC_SEARCH_LIBS(gethostbyaddr, nsl socket resolv)
1084+
AC_SEARCH_LIBS(gethostbyaddr, network nsl socket resolv)
10851085
# Unfortunately libsocket sometimes depends on libnsl and
10861086
# AC_SEARCH_LIBS isn't up to the task of handling dependencies like this.
10871087
if test "$ac_cv_search_gethostbyaddr" = "no"

0 commit comments

Comments
 (0)