1
0
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:
Bart Schaefer 2000-08-14 15:46:53 +00:00
parent 0570841e95
commit 465eeb39c5

@ -859,7 +859,6 @@ AC_CHECK_FUNCS(strftime difftime gettimeofday \
initgroups nis_list \ initgroups nis_list \
setuid seteuid setreuid setresuid setsid \ setuid seteuid setreuid setresuid setsid \
memcpy memmove strstr strerror \ memcpy memmove strstr strerror \
mmap munmap msync \
cap_get_proc \ cap_get_proc \
getrlimit \ getrlimit \
setlocale \ setlocale \
@ -870,6 +869,11 @@ AC_CHECK_FUNCS(strftime difftime gettimeofday \
pathconf sysconf) pathconf sysconf)
AC_FUNC_STRCOLL 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 if test $ac_cv_func_setpgrp = yes; then
AC_FUNC_GETPGRP AC_FUNC_GETPGRP
else else