Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11b880
)
Try to fix LIBOBJ detection of ntop/pton.
author
Martin Pool
<mbp@samba.org>
Tue, 27 Nov 2001 06:17:33 +0000
(06:17 +0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 27 Nov 2001 06:17:33 +0000
(06:17 +0000)
configure.in
patch
|
blob
|
blame
|
history
diff --git
a/configure.in
b/configure.in
index
e9381a6
..
c927f9e
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-255,7
+255,10
@@
fi
AC_CHECK_LIB(resolv, inet_ntop)
AC_MSG_NOTICE([Looking in libraries: $LIBS])
-AC_REPLACE_FUNCS(getaddrinfo getnameinfo inet_ntop inet_pton)
+AC_REPLACE_FUNCS(getaddrinfo getnameinfo)
+
+AC_CHECK_FUNC(inet_ntop, , AC_LIBOBJ(lib/inet_ntop))
+AC_CHECK_FUNC(inet_pton, , AC_LIBOBJ(lib/inet_pton))
AC_CHECK_MEMBER([struct sockaddr.sa_len],
[ AC_DEFINE(HAVE_SOCKADDR_LEN) ],