Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add Paul Vixie's implementation of inet_ntop and inet_pton for
[rsync/rsync.git]
/
configure.in
diff --git
a/configure.in
b/configure.in
index
d8d415d
..
e9381a6
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-252,8
+252,10
@@
if test x"$ac_cv_func_connect" = x"no"; then
fi
fi
fi
fi
+AC_CHECK_LIB(resolv, inet_ntop)
+
AC_MSG_NOTICE([Looking in libraries: $LIBS])
AC_MSG_NOTICE([Looking in libraries: $LIBS])
-AC_REPLACE_FUNCS(getaddrinfo getnameinfo)
+AC_REPLACE_FUNCS(getaddrinfo getnameinfo
inet_ntop inet_pton
)
AC_CHECK_MEMBER([struct sockaddr.sa_len],
[ AC_DEFINE(HAVE_SOCKADDR_LEN) ],
AC_CHECK_MEMBER([struct sockaddr.sa_len],
[ AC_DEFINE(HAVE_SOCKADDR_LEN) ],