use a simpler mmap() test in autoconf as we don't need all the
authorAndrew Tridgell <tridge@samba.org>
Fri, 22 May 1998 14:03:30 +0000 (14:03 +0000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 22 May 1998 14:03:30 +0000 (14:03 +0000)
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

index ce7c4f6..42d8f6c 100644 (file)
@@ -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"