diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-26 04:23:06 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-26 04:23:06 +0000 |
commit | a29386aaabd32bc4018cdec2362f8e42d829b105 (patch) | |
tree | d8627b9f698356554788a412b8259443725e41c8 /configure.in | |
parent | ed03c4d8d53aae6afc02fb230a4ff294662df6e8 (diff) |
merge revision(s) 54716,54719,54750: [Backport #12314]
* configure.in: don't use the system-provided round(3) on AIX.
In AIX, round(0.49999999999999994) returns 1.0.
Use round() in numeric.c instead.
* configure.in: add missing -lm for AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index e992eb31e0..0470d5cc0a 100644 --- a/configure.in +++ b/configure.in @@ -1131,6 +1131,9 @@ main() ac_cv_func_isinf=yes ac_cv_func_isnan=yes ], +[aix*],[ LIBS="-lm $LIBS" + ac_cv_func_round=no + ], [nacl], [ LIBS="-lm $LIBS" if test "${nacl_cv_build_variant}" = "newlib"; then |