File: netlibs.m4

package info (click to toggle)
nmh 1.6-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,204 kB
  • ctags: 3,851
  • sloc: ansic: 48,922; sh: 16,422; makefile: 559; perl: 509; lex: 402; awk: 74
file content (10 lines) | stat: -rw-r--r-- 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
dnl
dnl Updated for more modern systems.  Check to see if we need to link against
dnl optional libraries for networking functions.
dnl

AC_DEFUN([NMH_CHECK_NETLIBS],
[AC_SEARCH_LIBS([gethostbyname], [nsl], ,
		[AC_MSG_ERROR([gethostbyname not found])])
 AC_SEARCH_LIBS([connect], [socket], , [AC_MSG_ERROR([connect not found])])
])dnl