about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-08-14 15:46:53 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-08-14 15:46:53 +0000
commit465eeb39c5ae5604579ce1baeb9783b85b772967 (patch)
treec9ee0e43a0a709e9ae198dca75faf33f036d8826
parent0570841e95cecf6574912e91ae4c5266cfb3a800 (diff)
downloadzsh-465eeb39c5ae5604579ce1baeb9783b85b772967.tar.gz
zsh-465eeb39c5ae5604579ce1baeb9783b85b772967.tar.xz
zsh-465eeb39c5ae5604579ce1baeb9783b85b772967.zip
12617: Use AC_FUNC_MMAP.
-rw-r--r--configure.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 51a40ed10..026abab42 100644
--- a/configure.in
+++ b/configure.in
@@ -859,7 +859,6 @@ AC_CHECK_FUNCS(strftime difftime gettimeofday \
 	       initgroups nis_list \
 	       setuid seteuid setreuid setresuid setsid \
 	       memcpy memmove strstr strerror \
-	       mmap munmap msync \
 	       cap_get_proc \
 	       getrlimit \
 	       setlocale \
@@ -870,6 +869,11 @@ AC_CHECK_FUNCS(strftime difftime gettimeofday \
 	       pathconf sysconf)
 AC_FUNC_STRCOLL
 
+AC_FUNC_MMAP
+if test $ac_cv_func_mmap = yes; then
+  AC_CHECK_FUNCS(munmap msync)
+fi
+
 if test $ac_cv_func_setpgrp = yes; then
   AC_FUNC_GETPGRP
 else