]> The Tcpdump Group git mirrors - tcpdump/blobdiff - aclocal.m4
autoconf: search for gethostbyaddr() in libnetwork
[tcpdump] / aclocal.m4
index 494bfc19fe76ec838ecd7e76bc483124e88c4729..748ee9b8ec5bedc2df5d2959c0e48474c6ee88f0 100644 (file)
@@ -1166,7 +1166,7 @@ AC_DEFUN(AC_LBL_LIBRARY_NET, [
     # libraries (i.e. libc):
     # Some OSes (eg. Solaris) place it in libnsl
     # Some strange OSes (SINIX) have it in libsocket:
-    AC_SEARCH_LIBS(gethostbyaddr, nsl socket resolv)
+    AC_SEARCH_LIBS(gethostbyaddr, network nsl socket resolv)
     # Unfortunately libsocket sometimes depends on libnsl and
     # AC_SEARCH_LIBS isn't up to the task of handling dependencies like this.
     if test "$ac_cv_search_gethostbyaddr" = "no"