From: Martin Pool Date: Thu, 29 Nov 2001 00:08:36 +0000 (+0000) Subject: No need to test for memcmp, because even broken ones are good enough X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/87fcb63975824b48532b673fe3ebd5238424eb41 No need to test for memcmp, because even broken ones are good enough for our purposes. (Patch from Dave Dykstra.) --- diff --git a/configure.in b/configure.in index 72f1ab41..2e011234 100644 --- a/configure.in +++ b/configure.in @@ -291,7 +291,11 @@ if test x"$ac_cv_func_strcasecmp" = x"no"; then AC_CHECK_LIB(resolv, strcasecmp) fi -AC_FUNC_MEMCMP +dnl At the moment we don't test for a broken memcmp(), because all we +dnl need to do is test for equality, not comparison, and it seems that +dnl every platform has a memcmp that can do at least that. +dnl AC_FUNC_MEMCMP + AC_FUNC_UTIME_NULL AC_CHECK_FUNCS(waitpid wait4 getcwd strdup strerror chown chmod mknod) AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime)