]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
authorWayne Davison <wayned@samba.org>
Wed, 14 Dec 2005 22:54:54 +0000 (22:54 +0000)
committerWayne Davison <wayned@samba.org>
Wed, 14 Dec 2005 22:54:54 +0000 (22:54 +0000)
we need to include libresolv or not.

configure.in

index d36cc397991a0b2771cec9569e7fc3ad9efb5488..93b2643bd647cd984783ab3dc924baf73304a0ec 100644 (file)
@@ -377,7 +377,7 @@ if test x"$ac_cv_func_connect" = x"no"; then
     fi
 fi
 
-AC_CHECK_LIB(resolv, inet_ntop)
+AC_SEARCH_LIBS(inet_ntop, resolv)
 
 dnl AC_MSG_NOTICE([Looking in libraries: $LIBS])