3 # Updated for more modern systems. Check to see if we need to link against
4 # optional libraries for networking functions.
7 AC_DEFUN([NMH_CHECK_NETLIBS],
8 [AC_SEARCH_LIBS([gethostbyname], [nsl], ,
9 [AC_MSG_ERROR([gethostbyname not found])])
10 AC_SEARCH_LIBS([connect], [socket], , [AC_MSG_ERROR([connect not found])])