mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 13:33:52 +01:00
12617: Use AC_FUNC_MMAP.
This commit is contained in:
parent
0570841e95
commit
465eeb39c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user