httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <>
Subject Re: [PATCH] change mmap feature test
Date Tue, 06 Jun 2000 15:58:50 GMT wrote:
> But the thing is that we just use the mmap_emul flag to set the mmap stuff
> in apr.h.  

No, we are using native_mmap_emul only for platforms which must emulate
mmap (BeOS so far), or the results of the autoconf test for platforms
with native mmap:

+AC_CHECK_FUNCS(mmap, [ mmap="1" ], [ mmap="0" ])
+if test "$native_mmap_emul" = "1"; then
+    mmap="1"

>            I would like to find one test that will work for all
> platforms.  If that is not possible, then I say +1 to your patch.

I don't see how it is possible to have one test if we have a mixture of
mmap emulation and native support.


View raw message