From d47a7fcf0fd2f6d785bc58f2457a3cbd6eb816ff Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 May 1998 14:03:30 +0000 Subject: [PATCH] use a simpler mmap() test in autoconf as we don't need all the features of mmap that the standard test uses, and it reports Ultrix as having no working mmap() when in fact any mmap will do what we want for rsync. --- configure.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index ce7c4f64..42d8f6cd 100644 --- a/configure.in +++ b/configure.in @@ -38,10 +38,9 @@ echo yes; AC_DEFINE(HAVE_ERRNO_DECL), echo no) AC_FUNC_MEMCMP -AC_FUNC_MMAP AC_FUNC_UTIME_NULL -AC_CHECK_FUNCS(waitpid strtok pipe getcwd mkdir strdup strerror chown chmod mknod) -AC_CHECK_FUNCS(fchmod fstat strchr bcopy bzero readlink link utime utimes) +AC_CHECK_FUNCS(mmap waitpid getcwd strdup strerror chown chmod mknod) +AC_CHECK_FUNCS(fchmod fstat bcopy bzero readlink link utime utimes) AC_CHECK_FUNCS(memmove getopt_long lchown setlinebuf vsnprintf setsid glob) echo $ac_n "checking for working fnmatch... $ac_c" -- 2.34.1