Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: mmap test
- X-seq: zsh-workers 12617
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>, "ZSH workers mailing list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: mmap test
- Date: Mon, 14 Aug 2000 15:31:41 +0000
- In-reply-to: <000801c005e5$52f03ee0$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <000801c005e5$52f03ee0$21c9ca95@xxxxxxxxxxxxxx>
On Aug 14, 3:46pm, Andrej Borsenkow wrote:
} Subject: mmap test
}
} I noted, that configure for libiberty has a bit better test for mmap() that
} also tests for usability of it. Can we simply include it?
No, it's probably GPL'd.
We should just use the autoconf AC_FUNC_MMAP test.
Index: configure.in
===================================================================
@@ -859,7 +859,6 @@
initgroups nis_list \
setuid seteuid setreuid setresuid setsid \
memcpy memmove strstr strerror \
- mmap munmap msync \
cap_get_proc \
getrlimit \
setlocale \
@@ -869,6 +868,11 @@
brk sbrk \
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
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author