summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-02-21 00:56:11 +0000
committerMartin Pool <mbp@samba.org>2002-02-21 00:56:11 +0000
commita036a0e818a9a022bf51cd4546fda4b23089b66c (patch)
tree526790976cff1d3b60dfc06e59c7ec049f3b8e64 /configure.in
parent7583ded808be86e0267a83b558892b29ee278e15 (diff)
downloadrsync-a036a0e818a9a022bf51cd4546fda4b23089b66c.tar.gz
Revert 1.134 -- this breaks Net/Free BSD.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/configure.in b/configure.in
index ec143ee1..2722eb71 100644
--- a/configure.in
+++ b/configure.in
@@ -315,18 +315,7 @@ dnl AC_MSG_NOTICE([Looking in libraries: $LIBS])
AC_CHECK_FUNCS(inet_ntop, , AC_LIBOBJ(lib/inet_ntop))
AC_CHECK_FUNCS(inet_pton, , AC_LIBOBJ(lib/inet_pton))
-# Tru64 UNIX has getaddrinfo() but has it renamed in libc as
-# something else so we must include <netdb.h> to get the
-# redefinition.
-AC_MSG_CHECKING([for getaddrinfo])
-AC_TRY_LINK([#include <sys/types.h>
-#include <sys/socket.h>
-#include <netdb.h>],[getaddrinfo(NULL, NULL, NULL, NULL);],
- [AC_MSG_RESULT([yes])
- AC_DEFINE(HAVE_GETADDRINFO, 1,
- [Define if you have the `getaddrinfo' function.])],
- [AC_MSG_RESULT([no])
- AC_LIBOBJ(lib/getaddrinfo)])
+AC_CHECK_FUNCS(getaddrinfo, , AC_LIBOBJ(lib/getaddrinfo))
AC_CHECK_FUNCS(getnameinfo, , AC_LIBOBJ(lib/getnameinfo))
AC_CHECK_MEMBER([struct sockaddr.sa_len],