fdb211b3ec
and gethostbyname are in. On some systems, you need -lsocket and -lnsl for these (solaris). Tested on NetBSD and Solaris-9.
13 lines
460 B
Text
13 lines
460 B
Text
$NetBSD: patch-aa,v 1.4 2005/03/26 13:59:33 dmcmahill Exp $
|
|
|
|
--- configure.in.orig 2004-10-14 19:23:55.000000000 -0400
|
|
+++ configure.in
|
|
@@ -151,5 +151,8 @@ dnl Checks for library functions.
|
|
AC_FUNC_MEMCMP
|
|
AC_CHECK_FUNCS(strtod strtol)
|
|
AC_CHECK_FUNC(pow, , AC_CHECK_LIB(m, pow))
|
|
+AC_CHECK_FUNC(gethostbyname, , AC_CHECK_LIB(nsl, gethostbyname))
|
|
+AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket))
|
|
+AC_CHECK_FUNCS(recv send connect)
|
|
|
|
AC_OUTPUT(Makefile)
|