Document formatarg.
[mmh] / m4 / netlibs.m4
1 dnl
2 dnl Updated for more modern systems.  Check to see if we need to link against
3 dnl optional libraries for networking functions.
4 dnl
5
6 AC_DEFUN([NMH_CHECK_NETLIBS],
7 [AC_SEARCH_LIBS([gethostbyname], [nsl], ,
8                 [AC_MSG_ERROR([gethostbyname not found])])
9  AC_SEARCH_LIBS([connect], [socket], , [AC_MSG_ERROR([connect not found])])
10 ])dnl