ruby-changes:53705
From: normal <ko1@a...>
Date: Thu, 22 Nov 2018 17:46:54 +0900 (JST)
Subject: [ruby-changes:53705] normal:r65921 (trunk): configure.ac: support 32-bit builds on x86-64 systems
normal 2018-11-22 17:46:44 +0900 (Thu, 22 Nov 2018) New Revision: 65921 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65921 Log: configure.ac: support 32-bit builds on x86-64 systems Because RAM is still expensive :< Modified files: trunk/configure.ac Index: configure.ac =================================================================== --- configure.ac (revision 65920) +++ configure.ac (revision 65921) @@ -2337,7 +2337,11 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes https://github.com/ruby/ruby/blob/trunk/configure.ac#L2337 rb_cv_fiber_coroutine=amd64 ], [x*64-linux], [ - rb_cv_fiber_coroutine=amd64 + AS_CASE(["$ac_cv_sizeof_voidp"], + [8], [ rb_cv_fiber_coroutine=amd64 ], + [4], [ rb_cv_fiber_coroutine=x86 ], + [*], [ rb_cv_fiber_coroutine= ] + ) ], [*86-linux], [ rb_cv_fiber_coroutine=x86 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/