1 --- mc-4.7.0-pre2/m4.include/mc-vfs.m4~ 2009-08-04 23:36:33.000000000 +0200
2 +++ mc-4.7.0-pre2/m4.include/mc-vfs.m4 2009-09-06 18:44:17.955791270 +0200
4 dnl FIXME: network checks should probably be in their own macro.
5 AC_SEARCH_LIBS(socket, [xnet bsd socket inet], [have_socket=yes])
6 if test x"$have_socket" = xyes; then
7 - AC_SEARCH_LIBS(gethostbyname, [bsd socket inet netinet])
8 + AC_SEARCH_LIBS(gethostbyname, [bsd socket inet netinet nsl])
9 AC_CHECK_MEMBERS([struct linger.l_linger], , , [
10 #include <sys/types.h>
11 #include <sys/socket.h>