]> diplodocus.org Git - nmh/blob - m4/netlibs.m4
Suppress echoing of man page build lines. One of them says "warning", and it's handy...
[nmh] / 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