No need to test for memcmp, because even broken ones are good enough
authorMartin Pool <mbp@samba.org>
Thu, 29 Nov 2001 00:08:36 +0000 (00:08 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 29 Nov 2001 00:08:36 +0000 (00:08 +0000)
for our purposes.  (Patch from Dave Dykstra.)

configure.in

index 72f1ab4..2e01123 100644 (file)
@@ -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)