rbb@covalent.net 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"
+fi
> 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.
Greg
|