diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-11 14:26:01 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-11 14:26:01 +0000 |
commit | cbacc5d5018f752128d9b2e2566aac27784e7cde (patch) | |
tree | 0541e44fbcbf59380adec9a70765007d652ba24e /configure.in | |
parent | c586d820c83e64966733f994299083f067dac73f (diff) | |
download | ruby-cbacc5d5018f752128d9b2e2566aac27784e7cde.tar.gz |
* configure.in: enable rb_cv_page_size_log test for MirOS BSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.in b/configure.in index b7dbb3d160..8921bed29a 100644 --- a/configure.in +++ b/configure.in @@ -1477,8 +1477,11 @@ if test $rb_cv_stack_end_address != no; then AC_DEFINE_UNQUOTED(STACK_END_ADDRESS, $rb_cv_stack_end_address) fi +# posix_memalign(memptr, alignment, size) implemented for OpenBSD 4.8 doesn't work if alignment > MALLOC_PAGESIZE. +# OpenBSD 5.2 fixed the problem. (src/lib/libc/stdlib/malloc.c:1.142) +# MirOS #10semel has the problem but fixed in the repository. (src/lib/libc/stdlib/malloc.c:1.9) AS_CASE(["$target_os"], -[openbsd*], [ +[openbsd*|mirbsd*], [ AC_CACHE_CHECK(for heap align log on openbsd, rb_cv_page_size_log, [rb_cv_page_size_log=no for page_log in 12 13; do |