On Tue, Feb 03, 2009 at 13:14:55 +0100, Petr Rockai wrote:
> that's interesting, since it is #ifdefd' in HAVE_MMAP. Maybe autoconf is
> defining that for some reason? (I have not reused the USE_MMAP flag we had
> previously precisely to avoid this sort of problem).

Yep!  Here's what I see:

AC_MSG_CHECKING([whether to use mmap])
AC_ARG_ENABLE(mmap, AS_HELP_STRING([--disable-mmap],
              [do not use mmap (use this flag if you get bus errors)]),
              enable_mmap=$enableval,enable_mmap=yes)
if test "$SYS" = "windows"; then
  AC_MSG_RESULT(no (Windows))
else
  AC_MSG_RESULT($enable_mmap)
fi
USE_MMAP="True"
if test "$enable_mmap" = "no" || test "$SYS" = "windows" ; then
  USE_MMAP="False"
fi
AC_DEFINE(HAVE_MMAP)
AC_SUBST(USE_MMAP)

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to