Improved the compare-dest/link-dest/copy-dest code to make it more
[rsync/rsync.git] / configure.in
index d36cc39..93b2643 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])