(part of commit
6be3fb4 from Unity-Technologies/bdwgc)
Issue #173 (bdwgc).
* configure.ac (mmap): New AC_ARG_ENABLE (store the result to
gc_use_mmap).
[Define to enable internal debug assertions.])
fi
+AC_ARG_ENABLE(mmap,
+ [AC_HELP_STRING([--enable-mmap],
+ [use mmap instead of sbrk to expand the heap])],
+ gc_use_mmap=$enableval)
+
AC_ARG_ENABLE(munmap,
[AC_HELP_STRING([--enable-munmap=N],
[return page to the OS if empty for N collections