Commit 87fcb639 authored by Martin Pool's avatar Martin Pool

No need to test for memcmp, because even broken ones are good enough

for our purposes.  (Patch from Dave Dykstra.)
parent 68b2cc55
...@@ -291,7 +291,11 @@ if test x"$ac_cv_func_strcasecmp" = x"no"; then ...@@ -291,7 +291,11 @@ if test x"$ac_cv_func_strcasecmp" = x"no"; then
AC_CHECK_LIB(resolv, strcasecmp) AC_CHECK_LIB(resolv, strcasecmp)
fi 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_FUNC_UTIME_NULL
AC_CHECK_FUNCS(waitpid wait4 getcwd strdup strerror chown chmod mknod) AC_CHECK_FUNCS(waitpid wait4 getcwd strdup strerror chown chmod mknod)
AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime) AC_CHECK_FUNCS(fchmod fstat strchr readlink link utime utimes strftime)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment