From b009de13bf4bb7c96964c404fb56b3503db777fd Mon Sep 17 00:00:00 2001 From: normal Date: Thu, 22 Nov 2018 08:46:44 +0000 Subject: configure.ac: support 32-bit builds on x86-64 systems Because RAM is still expensive :< git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- configure.ac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7f8f7f72bf..b5a2ef86b2 100644 --- a/configure.ac +++ b/configure.ac @@ -2337,7 +2337,11 @@ AS_CASE(["$rb_cv_fiber_coroutine"], [yes|''], [ 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 -- cgit v1.2.3