ruby-changes:44461
From: nobu <ko1@a...>
Date: Tue, 1 Nov 2016 01:31:17 +0900 (JST)
Subject: [ruby-changes:44461] nobu:r56534 (trunk): configure.in: no round in x64-mingw
nobu 2016-11-01 01:31:12 +0900 (Tue, 01 Nov 2016) New Revision: 56534 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56534 Log: configure.in: no round in x64-mingw * configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32 is not accurate in an edge case. [ruby-core:77794] [Bug #12878] Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 56533) +++ configure.in (revision 56534) @@ -1236,7 +1236,10 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.in#L1236 ac_cv_func_clock_gettime=yes ac_cv_func_clock_getres=yes ac_cv_func_malloc_usable_size=no - { test "$target_cpu" = x64 && ac_cv_func___builtin_setjmp=no; } + AS_IF([test "$target_cpu" = x64], [ + ac_cv_func___builtin_setjmp=no + ac_cv_func_round=no + ]) AC_CHECK_TYPE([NET_LUID], [], [], [@%:@include <winsock2.h> @%:@include <iphlpapi.h>]) Index: ChangeLog =================================================================== --- ChangeLog (revision 56533) +++ ChangeLog (revision 56534) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Tue Nov 1 01:31:09 2016 Nobuyoshi Nakada <nobu@r...> + + * configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32 + is not accurate in an edge case. [ruby-core:77794] [Bug #12878] + Mon Oct 31 17:36:04 2016 Code Ahss <aycabta@g...> * test/test_forwardable.rb (TestForwardable#test_on_private_method): -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/