diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-31 16:31:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-31 16:31:12 +0000 |
commit | 1e63aafe773b3cc12e0be4fb737a423b4a1338e6 (patch) | |
tree | cc37f4827f74f85b183de6142ca8f404f55be891 | |
parent | c72fc9f32325c0c08842bf91cb884d00f6ef5f20 (diff) | |
download | ruby-1e63aafe773b3cc12e0be4fb737a423b4a1338e6.tar.gz |
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]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.in | 5 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Tue Nov 1 01:31:09 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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@gmail.com> * test/test_forwardable.rb (TestForwardable#test_on_private_method): diff --git a/configure.in b/configure.in index 108c01a699..8e61066ac6 100644 --- a/configure.in +++ b/configure.in @@ -1236,7 +1236,10 @@ main() 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>]) |